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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008316/0.008316, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.00225/0.00225, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3074, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002177/0.3096, allocations: 0.9392 MB / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002099/0.3117, allocations: 1.42 MB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.3119, allocations: 0 / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.3123, allocations: 67.67 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.3125, allocations: 63.67 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009486/0.3134, allocations: 324.4 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005341/0.314, allocations: 451.3 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.3141, allocations: 61.64 kB / 1.211 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.3144, allocations: 171.6 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.3147, allocations: 155.5 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.68e-05/0.3148, allocations: 40 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.3149, allocations: 67.95 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.3151, allocations: 87.72 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.3153, allocations: 147.4 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.3158, allocations: 435 kB / 1.212 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3158, allocations: 0 / 1.212 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3158, allocations: 0 / 1.212 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.3158, allocations: 0 / 1.212 GB, free: 5.754 MB / 0.9669 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.0009705/0.3168, allocations: 0.6496 MB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3168, allocations: 12.62 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.3169, allocations: 46.75 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.942e-05/0.317, allocations: 32.64 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.3175, allocations: 300.9 kB / 1.213 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.3175, allocations: 24.25 kB / 1.213 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.289e-05/0.3176, allocations: 24.36 kB / 1.213 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.3179, allocations: 182 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3179, allocations: 3.938 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.3179, allocations: 8 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.318, allocations: 4 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.3182, allocations: 115.9 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009626/0.3191, allocations: 0.6328 MB / 1.214 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.3196, allocations: 238.5 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.3198, allocations: 156.9 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.3198, allocations: 4 kB / 1.214 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.3201, allocations: 228.9 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 1.823e-06/0.3202, allocations: 0 / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27): time 0.0007652/0.3209, allocations: 0.5116 MB / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.321, allocations: 122.8 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.3213, allocations: 251.9 kB / 1.215 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.3213, allocations: 45.7 kB / 1.215 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.896e-05/0.3214, allocations: 124.7 kB / 1.215 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.3215, allocations: 63.19 kB / 1.215 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.3217, allocations: 101.7 kB / 1.215 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3218, allocations: 338.8 kB / 1.216 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.3221, allocations: 163.9 kB / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.3224, allocations: 297.6 kB / 1.216 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.3229, allocations: 488.1 kB / 1.217 GB, free: 256 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.323, allocations: 8 kB / 1.217 GB, free: 248 kB / 0.9669 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008517/0.3238, allocations: 0.5819 MB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.3239, allocations: 138.8 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3239, allocations: 0 / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.324, allocations: 4 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3241, allocations: 32.23 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3241, allocations: 8 kB / 1.217 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.3246, allocations: 95.69 kB / 1.217 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.3247, allocations: 23.92 kB / 1.217 GB, free: 15.3 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.000245/0.3249, allocations: 243.8 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.325, allocations: 31.7 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.3251, allocations: 18.56 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3251, allocations: 4 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3251, allocations: 0 / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-06/0.3251, allocations: 3.984 kB / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3262, allocations: 0.853 MB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3262, allocations: 3.938 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.3262, allocations: 15.98 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3262, allocations: 4 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.3263, allocations: 19.88 kB / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3263, allocations: 0 / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3263, allocations: 0 / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.3269, allocations: 0.5458 MB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.327, allocations: 92.92 kB / 1.219 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/0.3271, allocations: 19.92 kB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3272, allocations: 12 kB / 1.219 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3273, allocations: 47.95 kB / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.3274, allocations: 19.98 kB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001601/0.3275, allocations: 173.6 kB / 1.219 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3276, allocations: 0 / 1.219 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003906/0.328, allocations: 91.84 kB / 1.22 GB, free: 12.99 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.0009709/0.3289, allocations: 1.115 MB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008345/0.3298, allocations: 0.6936 MB / 1.221 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3298, allocations: 0 / 1.221 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.3301, allocations: 342.6 kB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.3306, allocations: 49.02 kB / 1.222 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.3348, allocations: 3.465 MB / 1.225 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3351, allocations: 0.7441 MB / 1.226 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.3352, allocations: 41.92 kB / 1.226 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.3353, allocations: 63.42 kB / 1.226 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3353, allocations: 0 / 1.226 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.3623, allocations: 7.046 MB / 1.233 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/8.811, allocations: 4.297 kB / 1.233 GB, free: 15.34 MB / 0.9981 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches