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.001369/0.001369, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001299/0.001299, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.332/1.332, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 179] 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.992/2.992, allocations: 497.2 MB / 0.7845 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.1.|truArrConSam.uIdx.2.|truArrConSam.y1.1.|truArrConSam.y1.2.|truArrConGre.y1.1.|truArrConGre.y1.2.|truArrConGre.y1.3.|truArrConGre.y1.4.",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.1.|truArrConSam.uIdx.2.|truArrConSam.y1.1.|truArrConSam.y1.2.|truArrConGre.y1.1.|truArrConGre.y1.2.|truArrConGre.y1.3.|truArrConGre.y1.4.",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 64.89 kB / 1.139 GB, free: 33.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3188, allocations: 173.9 MB / 1.309 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002227/0.321, allocations: 0.9356 MB / 1.31 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3229, allocations: 1.427 MB / 1.312 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.137e-05/0.323, allocations: 0 / 1.312 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.3233, allocations: 67.67 kB / 1.312 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.233e-05/0.3234, allocations: 63.67 kB / 1.312 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.3243, allocations: 333.7 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.3248, allocations: 435.2 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3249, allocations: 37.61 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.3251, allocations: 163.6 kB / 1.313 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.3254, allocations: 171.5 kB / 1.313 GB, free: 12.4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.3255, allocations: 36 kB / 1.313 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3256, allocations: 63.97 kB / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.3257, allocations: 91.72 kB / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.3259, allocations: 143.4 kB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.3264, allocations: 438.5 kB / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3264, allocations: 0 / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3264, allocations: 0 / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3264, allocations: 0 / 1.314 GB, free: 11.64 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.0009728/0.3274, allocations: 0.6649 MB / 1.314 GB, free: 10.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3274, allocations: 8.625 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.893e-05/0.3275, allocations: 28.8 kB / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.328, allocations: 309 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.328, allocations: 16.38 kB / 1.315 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.3281, allocations: 20.38 kB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.3284, allocations: 183.9 kB / 1.315 GB, free: 10.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3284, allocations: 192 / 1.315 GB, free: 10.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.3284, allocations: 7.938 kB / 1.315 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3284, allocations: 4 kB / 1.315 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.3286, allocations: 123.9 kB / 1.315 GB, free: 10.17 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.3296, allocations: 0.6367 MB / 1.315 GB, free: 9.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.33, allocations: 202.5 kB / 1.316 GB, free: 9.273 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.3302, allocations: 128.9 kB / 1.316 GB, free: 9.145 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.3302, allocations: 0 / 1.316 GB, free: 9.145 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/0.3306, allocations: 240.5 kB / 1.316 GB, free: 8.895 MB / 1.014 GB Notification: Performance of pre-optimization done (n=27): time 1.453e-06/0.3306, allocations: 0 / 1.316 GB, free: 8.895 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.0007902/0.3314, allocations: 0.5205 MB / 1.317 GB, free: 8.359 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.3314, allocations: 114.8 kB / 1.317 GB, free: 8.223 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.3317, allocations: 256 kB / 1.317 GB, free: 7.961 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.3317, allocations: 41.7 kB / 1.317 GB, free: 7.914 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3319, allocations: 132.7 kB / 1.317 GB, free: 7.777 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.3319, allocations: 59.53 kB / 1.317 GB, free: 7.719 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3321, allocations: 105.6 kB / 1.317 GB, free: 7.609 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3322, allocations: 342.8 kB / 1.318 GB, free: 7.266 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.3325, allocations: 155.9 kB / 1.318 GB, free: 7.113 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.3329, allocations: 303.1 kB / 1.318 GB, free: 6.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.3334, allocations: 487.5 kB / 1.318 GB, free: 6.223 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3334, allocations: 0 / 1.318 GB, free: 6.223 MB / 1.014 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008308/0.3342, allocations: 0.5865 MB / 1.319 GB, free: 5.605 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.3344, allocations: 142.8 kB / 1.319 GB, free: 5.441 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3344, allocations: 4 kB / 1.319 GB, free: 5.438 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3344, allocations: 4 kB / 1.319 GB, free: 5.434 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-05/0.3345, allocations: 27.92 kB / 1.319 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3345, allocations: 4 kB / 1.319 GB, free: 5.402 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/0.335, allocations: 84.08 kB / 1.319 GB, free: 5.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.3351, allocations: 27.98 kB / 1.319 GB, free: 5.293 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.0002464/0.3353, allocations: 251.6 kB / 1.32 GB, free: 5.023 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.3354, allocations: 27.86 kB / 1.32 GB, free: 4.996 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.3354, allocations: 26.55 kB / 1.32 GB, free: 4.973 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3354, allocations: 4 kB / 1.32 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3354, allocations: 0 / 1.32 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3354, allocations: 0 / 1.32 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.3365, allocations: 0.8532 MB / 1.32 GB, free: 4.043 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3365, allocations: 0 / 1.32 GB, free: 4.043 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.3366, allocations: 12 kB / 1.32 GB, free: 4.031 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3366, allocations: 0 / 1.32 GB, free: 4.031 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.3366, allocations: 11.98 kB / 1.32 GB, free: 4.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.3366, allocations: 7.938 kB / 1.32 GB, free: 4.012 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3366, allocations: 11.92 kB / 1.32 GB, free: 4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.3372, allocations: 0.5304 MB / 1.321 GB, free: 3.441 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.3373, allocations: 108.9 kB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.3374, allocations: 20 kB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.3375, allocations: 15.92 kB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3376, allocations: 47.95 kB / 1.321 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.3376, allocations: 12 kB / 1.321 GB, free: 3.223 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001624/0.3378, allocations: 181.6 kB / 1.321 GB, free: 3.047 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3378, allocations: 0 / 1.321 GB, free: 3.047 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003656/0.3382, allocations: 83.92 kB / 1.321 GB, free: 2.965 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.0002201/0.3384, allocations: 149.3 kB / 1.322 GB, free: 2.809 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007964/0.3392, allocations: 0.6188 MB / 1.322 GB, free: 2.141 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3392, allocations: 4.188 kB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.3395, allocations: 288.2 kB / 1.322 GB, free: 1.832 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.3399, allocations: 52.34 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008117/0.3407, allocations: 0.5153 MB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.3411, allocations: 0.7516 MB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.3412, allocations: 37.92 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.3412, allocations: 19.44 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.3412, allocations: 0 / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of Templates: time 0.008921/0.3501, allocations: 4.946 MB / 1.329 GB, free: 11.53 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 800] 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: 8.284604654181749]