Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 193.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.68/2.68, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.2 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2881, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001761/0.2899, allocations: 0.7091 MB / 1.054 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.2913, allocations: 1.252 MB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.2914, allocations: 0 / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.285e-05/0.2915, allocations: 15.86 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.874e-05/0.2916, allocations: 15.81 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.2922, allocations: 233.4 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.2925, allocations: 259.6 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2926, allocations: 35.98 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.2927, allocations: 103.7 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.2929, allocations: 91.77 kB / 1.056 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.293, allocations: 20 kB / 1.056 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.733e-05/0.2931, allocations: 31.98 kB / 1.056 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.2931, allocations: 39.91 kB / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.053e-05/0.2932, allocations: 83.64 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.2935, allocations: 211.6 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2935, allocations: 3.984 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2935, allocations: 0 / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2935, allocations: 0 / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004806/0.294, allocations: 0.4945 MB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.294, allocations: 8.625 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.294, allocations: 42.73 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.2941, allocations: 20.75 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.2946, allocations: 260.1 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.2947, allocations: 12.38 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.2947, allocations: 24.34 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.2949, allocations: 121.4 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2949, allocations: 3.938 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2949, allocations: 8 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2949, allocations: 4 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.674e-05/0.295, allocations: 51.91 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.2955, allocations: 0.6611 MB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.2956, allocations: 41.16 kB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.2956, allocations: 13.78 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.2956, allocations: 3.938 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.2958, allocations: 97.06 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2958, allocations: 0 / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002001/0.296, allocations: 101.4 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.296, allocations: 81.11 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2962, allocations: 176.7 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.2962, allocations: 29.7 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.2963, allocations: 119.9 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.2963, allocations: 23.78 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/0.2964, allocations: 57.69 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.2965, allocations: 318.8 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.2966, allocations: 55.97 kB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.2967, allocations: 111.3 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.2969, allocations: 174.1 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2969, allocations: 7.938 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003668/0.2973, allocations: 261.1 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.2973, allocations: 71.33 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2973, allocations: 0 / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2974, allocations: 4 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.508e-05/0.2974, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2974, allocations: 4 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.2977, allocations: 64.03 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.2978, allocations: 15.98 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.949e-05/0.2979, allocations: 137.8 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.2979, allocations: 15.83 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.2979, allocations: 20.23 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2979, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2979, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2979, allocations: 4 kB / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.2981, allocations: 201.6 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2981, allocations: 0 / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-06/0.2981, allocations: 4 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2981, allocations: 0 / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.2981, allocations: 4 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2981, allocations: 0 / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2981, allocations: 4 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.2982, allocations: 117.8 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.2983, allocations: 88.92 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2983, allocations: 0 / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.413e-05/0.2983, allocations: 7.984 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.2984, allocations: 4 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.2984, allocations: 4.062 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.212e-05/0.2984, allocations: 121.4 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2984, allocations: 0 / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002354/0.2987, allocations: 39.92 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003511/0.299, allocations: 0.6638 MB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.2993, allocations: 238.7 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2993, allocations: 0 / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/0.2994, allocations: 31.92 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.2996, allocations: 27.94 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3014, allocations: 1.905 MB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.3016, allocations: 0.7158 MB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.605e-05/0.3017, allocations: 12.81 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.3017, allocations: 35.44 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3017, allocations: 0 / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06811/0.3698, allocations: 3.406 MB / 1.067 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/8.054, allocations: 3.938 kB / 1.067 GB, free: 9.344 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches