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.001437/0.001437, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001251/0.001251, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.98 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2712, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002506/0.2737, allocations: 0.992 MB / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.2757, allocations: 1.408 MB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.2759, allocations: 4 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.2763, allocations: 63.8 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.2764, allocations: 43.75 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009003/0.2774, allocations: 309.7 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005596/0.2779, allocations: 451.2 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.2781, allocations: 57.66 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.2784, allocations: 167.6 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.2787, allocations: 139.5 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.2788, allocations: 40 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.279, allocations: 67.91 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.2791, allocations: 83.78 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.2793, allocations: 147.4 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.2798, allocations: 427.1 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2798, allocations: 0 / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2798, allocations: 0 / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.2798, allocations: 3.938 kB / 1.057 GB, free: 4.266 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009987/0.2808, allocations: 0.6534 MB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2809, allocations: 12.62 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.576e-05/0.2809, allocations: 42.75 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.281, allocations: 32.64 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.2814, allocations: 304.9 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.2815, allocations: 12.38 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.2815, allocations: 24.38 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.2819, allocations: 178.1 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2819, allocations: 7.875 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.2819, allocations: 8 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2819, allocations: 4 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.2821, allocations: 123.9 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009507/0.2831, allocations: 0.6289 MB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.2835, allocations: 238.4 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.2837, allocations: 161 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.2837, allocations: 0 / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000375/0.2841, allocations: 228.5 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 1.764e-06/0.2841, allocations: 0 / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.0007531/0.2849, allocations: 0.5233 MB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.285, allocations: 118.8 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.2852, allocations: 251.9 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/0.2853, allocations: 41.7 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2854, allocations: 132.7 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.2854, allocations: 47.38 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.2856, allocations: 105.6 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2858, allocations: 334.8 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.286, allocations: 171.9 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.2864, allocations: 289.6 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.2869, allocations: 495.3 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.2869, allocations: 4 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00081/0.2877, allocations: 0.5902 MB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.751e-05/0.2878, allocations: 143 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.2878, allocations: 4 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2878, allocations: 4 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.2879, allocations: 27.98 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.288, allocations: 7.938 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.2885, allocations: 87.69 kB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.2886, allocations: 23.92 kB / 1.063 GB, free: 13.82 MB / 0.8262 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.0002278/0.2888, allocations: 249.1 kB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.2889, allocations: 35.64 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.2889, allocations: 18.56 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2889, allocations: 4 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.289, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.289, allocations: 3.984 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009719/0.2899, allocations: 0.8544 MB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.29, allocations: 0 / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.29, allocations: 15.98 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.29, allocations: 0 / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.29, allocations: 15.94 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2901, allocations: 0 / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2901, allocations: 0 / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.2906, allocations: 0.5414 MB / 1.064 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.2907, allocations: 96.83 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.2907, allocations: 19.92 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.2909, allocations: 12 kB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.291, allocations: 43.95 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.291, allocations: 19.98 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001507/0.2912, allocations: 177.5 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2912, allocations: 0 / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003753/0.2916, allocations: 87.94 kB / 1.065 GB, free: 11.51 MB / 0.8262 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.0009295/0.2925, allocations: 1.12 MB / 1.066 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008242/0.2934, allocations: 0.7125 MB / 1.066 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2934, allocations: 0 / 1.066 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.2937, allocations: 338.7 kB / 1.067 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.2941, allocations: 56.33 kB / 1.067 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.2981, allocations: 3.48 MB / 1.07 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.2984, allocations: 0.7554 MB / 1.071 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.2985, allocations: 37.94 kB / 1.071 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.823e-05/0.2986, allocations: 70.03 kB / 1.071 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2986, allocations: 0 / 1.071 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.823/2.122, allocations: 6.891 MB / 1.078 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003482/2.122, allocations: 245.2 kB / 1.078 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/4.833, allocations: 2.75 kB / 1.078 GB, free: 13.73 MB / 0.8419 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