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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001815/0.001815, allocations: 194 kB / 16.14 MB, free: 6.711 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.342/2.342, allocations: 461.9 MB / 0.7342 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.34 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2322, allocations: 157.4 MB / 1.052 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.001998/0.2342, allocations: 0.9921 MB / 1.053 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.236, allocations: 1.439 MB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.276e-05/0.2361, allocations: 7.938 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.2364, allocations: 63.8 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.2365, allocations: 43.75 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.2372, allocations: 304.2 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.2376, allocations: 387.2 kB / 1.055 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.2377, allocations: 49.66 kB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.2379, allocations: 139.6 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.2381, allocations: 131.5 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/0.2382, allocations: 20 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.2384, allocations: 43.95 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.2385, allocations: 79.72 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.2387, allocations: 131.4 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.2392, allocations: 407.1 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2392, allocations: 7.938 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2392, allocations: 4 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2393, allocations: 0 / 1.056 GB, free: 3.902 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.0008551/0.2401, allocations: 0.6535 MB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2402, allocations: 8.031 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.2402, allocations: 46.73 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.626e-05/0.2403, allocations: 28.66 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.2407, allocations: 300.7 kB / 1.057 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.2407, allocations: 24.38 kB / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.2408, allocations: 24.38 kB / 1.057 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.241, allocations: 178.1 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.241, allocations: 3.938 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.2411, allocations: 7.984 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2411, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.2413, allocations: 131.8 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008756/0.2422, allocations: 0.625 MB / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.2426, allocations: 234.7 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.2428, allocations: 158.5 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.2428, allocations: 4 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.2431, allocations: 236.5 kB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.2431, allocations: 0 / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.0007058/0.2438, allocations: 0.5155 MB / 1.059 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.2439, allocations: 126.7 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.2441, allocations: 251.9 kB / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.2442, allocations: 41.69 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2443, allocations: 128.7 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.2444, allocations: 55.34 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.2445, allocations: 97.66 kB / 1.06 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2446, allocations: 342.8 kB / 1.06 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.2449, allocations: 167.9 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.2452, allocations: 291.6 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.2457, allocations: 495.3 kB / 1.061 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2457, allocations: 0 / 1.061 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007755/0.2465, allocations: 0.5903 MB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.162e-05/0.2466, allocations: 138.8 kB / 1.062 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2466, allocations: 7.984 kB / 1.062 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2466, allocations: 4 kB / 1.062 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.2467, allocations: 23.92 kB / 1.062 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2467, allocations: 4.312 kB / 1.062 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.2473, allocations: 99.56 kB / 1.062 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.2473, allocations: 35.86 kB / 1.062 GB, free: 13.45 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.0001998/0.2475, allocations: 235.8 kB / 1.062 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.2476, allocations: 27.72 kB / 1.062 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.2476, allocations: 22.56 kB / 1.062 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2476, allocations: 7.938 kB / 1.062 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2476, allocations: 0 / 1.062 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2476, allocations: 3.984 kB / 1.062 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009438/0.2486, allocations: 0.849 MB / 1.063 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2486, allocations: 0 / 1.063 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.2487, allocations: 23.94 kB / 1.063 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2487, allocations: 0 / 1.063 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.2487, allocations: 7.938 kB / 1.063 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2487, allocations: 7.984 kB / 1.063 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2487, allocations: 4.062 kB / 1.063 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.2492, allocations: 0.5298 MB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.2493, allocations: 100.8 kB / 1.064 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.2494, allocations: 23.92 kB / 1.064 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.2495, allocations: 15.98 kB / 1.064 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.2496, allocations: 47.95 kB / 1.064 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.2496, allocations: 15.94 kB / 1.064 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001498/0.2498, allocations: 173.8 kB / 1.064 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2498, allocations: 0 / 1.064 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003491/0.2502, allocations: 83.94 kB / 1.064 GB, free: 11.14 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.0008719/0.251, allocations: 1.129 MB / 1.065 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007254/0.2518, allocations: 0.6887 MB / 1.066 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2518, allocations: 4 kB / 1.066 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.2521, allocations: 335.9 kB / 1.066 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.2526, allocations: 53.03 kB / 1.066 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.2563, allocations: 3.472 MB / 1.07 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2566, allocations: 0.748 MB / 1.071 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.373e-05/0.2567, allocations: 33.94 kB / 1.071 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.236e-05/0.2568, allocations: 67.41 kB / 1.071 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2568, allocations: 0 / 1.071 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4935/0.7503, allocations: 6.643 MB / 1.077 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.7505, allocations: 238.9 kB / 1.077 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.567, allocations: 0 / 1.077 GB, free: 13.63 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 --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)