Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 497.2 MB / 0.7812 GB, free: 11.97 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 63.91 kB / 1.134 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 173.9 MB / 1.304 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002718/1.01, allocations: 0.9444 MB / 1.305 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002616/1.013, allocations: 1.411 MB / 1.306 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/1.013, allocations: 5.656 kB / 1.306 GB, free: 14.01 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000442/1.013, allocations: 64.36 kB / 1.306 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002013/1.013, allocations: 62.33 kB / 1.306 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/1.015, allocations: 325.1 kB / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000802/1.015, allocations: 439.4 kB / 1.307 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/1.016, allocations: 45.83 kB / 1.307 GB, free: 13.58 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/1.016, allocations: 167.1 kB / 1.307 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000458/1.016, allocations: 173 kB / 1.307 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/1.017, allocations: 35.88 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/1.017, allocations: 64.75 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/1.017, allocations: 81.59 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002858/1.017, allocations: 151.8 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007471/1.018, allocations: 438.1 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.018, allocations: 4.734 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/1.018, allocations: 0 / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.444e-05/1.018, allocations: 0 / 1.308 GB, free: 13.16 MB / 1.014 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.001328/1.019, allocations: 0.6639 MB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.019, allocations: 8.469 kB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.391e-05/1.019, allocations: 49.03 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/1.02, allocations: 29.7 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/1.02, allocations: 302.7 kB / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/1.02, allocations: 15.73 kB / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/1.02, allocations: 24.12 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/1.021, allocations: 190.7 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.021, allocations: 3.938 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/1.021, allocations: 7.438 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.021, allocations: 1.406 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/1.021, allocations: 127.1 kB / 1.31 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/1.022, allocations: 0.6329 MB / 1.31 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/1.023, allocations: 209.6 kB / 1.31 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/1.023, allocations: 124.7 kB / 1.311 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/1.023, allocations: 1.312 kB / 1.311 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004303/1.023, allocations: 232.8 kB / 1.311 GB, free: 11.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=27): time 2.274e-06/1.023, allocations: 0 / 1.311 GB, free: 11.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.0009798/1.024, allocations: 0.5203 MB / 1.311 GB, free: 11.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/1.025, allocations: 122.7 kB / 1.311 GB, free: 11.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/1.025, allocations: 256.2 kB / 1.312 GB, free: 10.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/1.025, allocations: 37.08 kB / 1.312 GB, free: 10.85 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/1.025, allocations: 125.5 kB / 1.312 GB, free: 10.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/1.025, allocations: 62.52 kB / 1.312 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/1.025, allocations: 100.5 kB / 1.312 GB, free: 10.63 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001896/1.026, allocations: 340.8 kB / 1.312 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/1.026, allocations: 166.4 kB / 1.312 GB, free: 10.22 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/1.026, allocations: 297 kB / 1.313 GB, free: 9.992 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/1.027, allocations: 489.2 kB / 1.313 GB, free: 9.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.027, allocations: 1.312 kB / 1.313 GB, free: 9.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009879/1.028, allocations: 0.5936 MB / 1.314 GB, free: 9.223 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.028, allocations: 138.2 kB / 1.314 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.028, allocations: 2.344 kB / 1.314 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.028, allocations: 3.656 kB / 1.314 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/1.028, allocations: 30.67 kB / 1.314 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/1.028, allocations: 3.469 kB / 1.314 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/1.029, allocations: 91.25 kB / 1.314 GB, free: 9.027 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/1.029, allocations: 29.17 kB / 1.314 GB, free: 9.016 MB / 1.014 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.0002961/1.029, allocations: 241.1 kB / 1.314 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/1.029, allocations: 25.64 kB / 1.314 GB, free: 8.793 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/1.029, allocations: 25.47 kB / 1.314 GB, free: 8.773 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/1.029, allocations: 5.406 kB / 1.314 GB, free: 8.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.029, allocations: 1.562 kB / 1.314 GB, free: 8.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.029, allocations: 3.984 kB / 1.314 GB, free: 8.766 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/1.031, allocations: 0.8595 MB / 1.315 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.031, allocations: 1.25 kB / 1.315 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/1.031, allocations: 9.469 kB / 1.315 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.031, allocations: 0 / 1.315 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/1.031, allocations: 18.77 kB / 1.315 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/1.031, allocations: 1.25 kB / 1.315 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.031, allocations: 7.984 kB / 1.315 GB, free: 8.098 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/1.031, allocations: 0.5432 MB / 1.316 GB, free: 7.742 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/1.032, allocations: 103.2 kB / 1.316 GB, free: 7.629 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/1.032, allocations: 21.08 kB / 1.316 GB, free: 7.617 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/1.032, allocations: 15.83 kB / 1.316 GB, free: 7.609 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/1.032, allocations: 41.06 kB / 1.316 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/1.032, allocations: 18.98 kB / 1.316 GB, free: 7.586 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002053/1.032, allocations: 177.4 kB / 1.316 GB, free: 7.465 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.032, allocations: 0 / 1.316 GB, free: 7.465 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004233/1.033, allocations: 80.94 kB / 1.316 GB, free: 7.457 MB / 1.014 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.001196/1.034, allocations: 1.119 MB / 1.317 GB, free: 6.559 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009155/1.035, allocations: 0.6225 MB / 1.318 GB, free: 6.121 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.035, allocations: 0 / 1.318 GB, free: 6.121 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/1.035, allocations: 280.8 kB / 1.318 GB, free: 5.926 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/1.035, allocations: 55.88 kB / 1.318 GB, free: 5.898 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/1.04, allocations: 3.465 MB / 1.322 GB, free: 3.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/1.041, allocations: 0.7384 MB / 1.322 GB, free: 2.711 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001302/1.041, allocations: 43.17 kB / 1.322 GB, free: 2.695 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/1.041, allocations: 67.78 kB / 1.322 GB, free: 2.641 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/1.041, allocations: 3.938 kB / 1.322 GB, free: 2.637 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/1.076, allocations: 7.062 MB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.533/9.609, allocations: 18.19 kB / 1.329 GB, free: 15.14 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.783481736667454]