Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",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.004589/0.004589, allocations: 98.81 kB / 15.73 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.493/2.493, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 76.02 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2479, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.001794/0.2497, allocations: 0.9348 MB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.2513, allocations: 1.408 MB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.2514, allocations: 7.938 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.2517, allocations: 67.67 kB / 1.223 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.039e-05/0.2518, allocations: 55.69 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007176/0.2525, allocations: 331 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.253, allocations: 455.3 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2531, allocations: 57.58 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.2533, allocations: 171.6 kB / 1.224 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.2535, allocations: 163.5 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.016e-05/0.2536, allocations: 36 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.2537, allocations: 59.98 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.2539, allocations: 87.72 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.254, allocations: 143.4 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.2545, allocations: 438.6 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.2545, allocations: 0 / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2545, allocations: 0 / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2545, allocations: 0 / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007822/0.2553, allocations: 0.6688 MB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2553, allocations: 12.03 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.2554, allocations: 42.73 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/0.2554, allocations: 32.8 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.2558, allocations: 309 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.2558, allocations: 16.38 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.2559, allocations: 24.38 kB / 1.226 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.2562, allocations: 186 kB / 1.226 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2562, allocations: 3.938 kB / 1.226 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.2562, allocations: 8 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2562, allocations: 0 / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.2564, allocations: 119.9 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.2572, allocations: 0.629 MB / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.2576, allocations: 238.5 kB / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.2579, allocations: 160.9 kB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.2579, allocations: 0 / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/0.2582, allocations: 232.6 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.482e-06/0.2582, allocations: 0 / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0007184/0.2589, allocations: 0.5212 MB / 1.228 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.259, allocations: 118.8 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.2592, allocations: 252 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.2593, allocations: 37.7 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.2594, allocations: 136.7 kB / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.2595, allocations: 63.53 kB / 1.228 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.2596, allocations: 97.66 kB / 1.228 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2597, allocations: 342.8 kB / 1.229 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.26, allocations: 163.9 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.2604, allocations: 297.6 kB / 1.229 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.2609, allocations: 487.5 kB / 1.229 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2609, allocations: 0 / 1.229 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007693/0.2616, allocations: 0.5865 MB / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-05/0.2618, allocations: 142.8 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2618, allocations: 4 kB / 1.23 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2618, allocations: 4 kB / 1.23 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.2619, allocations: 23.92 kB / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.2619, allocations: 11.97 kB / 1.23 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.2624, allocations: 91.98 kB / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.2624, allocations: 23.92 kB / 1.23 GB, free: 3.5 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.truArrConSam.u,$PRE.truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConGre.iIdx,truArrConGre.iTru,truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.uIdx[2],truArrConGre.uIdx[1],truArrConGre.u,uTru.idx,$PRE.uTru.idx,uTru.y[1],$PRE.uTru.y[1],uIdx2.booPul.y,$PRE.uIdx2.booPul.y,uIdx1.booPul.y,$PRE.uIdx1.booPul.y,truArrConSam.iIdx,truArrConSam.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.uIdx[2],truArrConSam.uIdx[1],truArrConSam.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0002126/0.2627, allocations: 248.3 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.2627, allocations: 23.86 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.2627, allocations: 30.5 kB / 1.231 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2627, allocations: 0 / 1.231 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2628, allocations: 7.984 kB / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2628, allocations: 64 / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.2638, allocations: 0.8571 MB / 1.231 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2638, allocations: 3.938 kB / 1.231 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.2638, allocations: 8 kB / 1.231 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2638, allocations: 0 / 1.231 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.2639, allocations: 19.92 kB / 1.231 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2639, allocations: 0 / 1.231 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2639, allocations: 0 / 1.231 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.2645, allocations: 0.5421 MB / 1.232 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.2645, allocations: 100.9 kB / 1.232 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.2646, allocations: 19.92 kB / 1.232 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.2647, allocations: 15.98 kB / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/0.2648, allocations: 47.95 kB / 1.232 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.2649, allocations: 12 kB / 1.232 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001506/0.265, allocations: 173.6 kB / 1.232 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.265, allocations: 0 / 1.232 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000328/0.2654, allocations: 84 kB / 1.232 GB, free: 1.184 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 (truArrConSam.u,truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConSam.uIdx[1],truArrConSam.uIdx[2],truArrConSam.y1[1],truArrConSam.y1[2],truArrConSam.iTru,truArrConSam.iIdx,uIdx1.booPul.y,uIdx2.booPul.y,uTru.y[1],uTru.idx,truArrConGre.uIdx[1],truArrConGre.uIdx[2],truArrConGre.y1[1],truArrConGre.y1[2],truArrConGre.y1[3],truArrConGre.y1[4],truArrConGre.iTru,truArrConGre.iIdx) * Number of discrete states: 10 (truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.iIdx,truArrConGre.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.iIdx,truArrConSam.iTru) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 4 * 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.0009192/0.2663, allocations: 1.12 MB / 1.234 GB, free: 24 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008022/0.2671, allocations: 0.7028 MB / 1.234 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2671, allocations: 0 / 1.234 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.2674, allocations: 338.7 kB / 1.235 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.2678, allocations: 50.09 kB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.2716, allocations: 3.475 MB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.2719, allocations: 0.7402 MB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.322e-05/0.272, allocations: 41.91 kB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.762e-05/0.2721, allocations: 71.41 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.2721, allocations: 0 / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.909/5.181, allocations: 7.047 MB / 1.246 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/18.87, allocations: 12.89 kB / 1.246 GB, free: 3.527 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches