Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_11_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.001457/0.001457, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.512/2.512, allocations: 469.8 MB / 0.7424 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 66.05 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2317, allocations: 159.2 MB / 1.064 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.001941/0.2336, allocations: 0.9351 MB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.2353, allocations: 1.416 MB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.2354, allocations: 4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.2356, allocations: 59.67 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.759e-05/0.2357, allocations: 63.61 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007012/0.2364, allocations: 323.5 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.2369, allocations: 455.2 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.237, allocations: 49.66 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.2372, allocations: 167.6 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.2374, allocations: 147.5 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.979e-05/0.2375, allocations: 39.94 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.2376, allocations: 59.98 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.2378, allocations: 87.78 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.2379, allocations: 151.4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.2383, allocations: 419.1 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2383, allocations: 0 / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2383, allocations: 3.938 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2384, allocations: 0 / 1.068 GB, free: 9.789 MB / 0.8262 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.0007856/0.2391, allocations: 0.6535 MB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2392, allocations: 12.03 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.2392, allocations: 46.67 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.483e-05/0.2393, allocations: 36.66 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.2397, allocations: 293 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.2397, allocations: 16.38 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.2398, allocations: 28.3 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.24, allocations: 183 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2401, allocations: 3.938 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2401, allocations: 4 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2401, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.2403, allocations: 119.9 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008696/0.2412, allocations: 0.6328 MB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.2415, allocations: 238.6 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.2418, allocations: 156.9 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.2418, allocations: 7.938 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/0.2421, allocations: 233.9 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 3.366e-06/0.2421, allocations: 0 / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007165/0.2428, allocations: 0.5173 MB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/0.2429, allocations: 126.8 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.2432, allocations: 251.9 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/0.2432, allocations: 41.69 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2433, allocations: 128.7 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.2434, allocations: 55.34 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.2436, allocations: 97.66 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2437, allocations: 342.8 kB / 1.072 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.2439, allocations: 163.9 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.2443, allocations: 293.8 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.2448, allocations: 0.4891 MB / 1.073 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2448, allocations: 0 / 1.073 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007845/0.2456, allocations: 0.5817 MB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.2457, allocations: 142.8 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2457, allocations: 7.938 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2457, allocations: 8.312 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.2458, allocations: 27.86 kB / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2458, allocations: 4 kB / 1.074 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.2464, allocations: 91.67 kB / 1.074 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.2464, allocations: 27.92 kB / 1.074 GB, free: 3.34 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.0002172/0.2467, allocations: 250.4 kB / 1.074 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.2467, allocations: 23.72 kB / 1.074 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.2468, allocations: 22.56 kB / 1.074 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2468, allocations: 3.984 kB / 1.074 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2468, allocations: 0 / 1.074 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2468, allocations: 0 / 1.074 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.2478, allocations: 0.8607 MB / 1.075 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2478, allocations: 0 / 1.075 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.2478, allocations: 16.06 kB / 1.075 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.2479, allocations: 4 kB / 1.075 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.2479, allocations: 11.92 kB / 1.075 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2479, allocations: 0 / 1.075 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.2479, allocations: 0 / 1.075 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.2485, allocations: 0.5414 MB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.2485, allocations: 100.8 kB / 1.076 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.2486, allocations: 19.92 kB / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2487, allocations: 11.98 kB / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.2488, allocations: 51.95 kB / 1.076 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.2489, allocations: 8 kB / 1.076 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000149/0.249, allocations: 181.6 kB / 1.076 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.249, allocations: 0 / 1.076 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003355/0.2494, allocations: 79.94 kB / 1.076 GB, free: 1.031 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.0009351/0.2503, allocations: 1.128 MB / 1.077 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008166/0.2511, allocations: 0.7126 MB / 1.078 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2511, allocations: 0 / 1.078 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.2515, allocations: 342.7 kB / 1.078 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.2519, allocations: 48.33 kB / 1.078 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.2558, allocations: 3.446 MB / 1.082 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.2561, allocations: 0.7399 MB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.508e-05/0.2562, allocations: 37.92 kB / 1.083 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-05/0.2563, allocations: 67.42 kB / 1.083 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.2563, allocations: 0 / 1.083 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.719/4.976, allocations: 6.994 MB / 1.089 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/19.62, allocations: 4.375 kB / 1.089 GB, free: 3.422 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches