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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 80.39 kB / 21.47 MB, free: 3.02 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 168.1 kB / 24.86 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9578/0.9578, allocations: 177.2 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.748/1.748, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.|truArrConSam.y1.[0-9,]+.|truArrConGre.y1.[0-9,]+.",fileNamePrefix="Buildings_11_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.[0-9,]+.|truArrConSam.y1.[0-9,]+.|truArrConGre.y1.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.723e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.00204/0.002067, allocations: 0.9325 MB / 0.7892 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.003942, allocations: 1.44 MB / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.004057, allocations: 4.562 kB / 0.7906 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.004427, allocations: 80.22 kB / 0.7907 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.674e-05/0.004524, allocations: 60.58 kB / 0.7908 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.005353, allocations: 329.4 kB / 0.7911 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005317/0.005885, allocations: 435.2 kB / 0.7915 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.006015, allocations: 35.38 kB / 0.7915 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.006299, allocations: 231.7 kB / 0.7917 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.006562, allocations: 135.7 kB / 0.7919 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.006618, allocations: 36 kB / 0.7919 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.006764, allocations: 72.39 kB / 0.792 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.006887, allocations: 87.17 kB / 0.7921 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.007023, allocations: 115.8 kB / 0.7922 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.00747, allocations: 323.1 kB / 0.7925 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007474, allocations: 0 / 0.7925 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.007474, allocations: 0 / 0.7925 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.007479, allocations: 0 / 0.7925 GB, free: 7.965 MB / 0.7448 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.0008857/0.008364, allocations: 0.6818 MB / 0.7931 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.008404, allocations: 12.03 kB / 0.7931 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.008523, allocations: 40.8 kB / 0.7932 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.008857, allocations: 229.7 kB / 0.7934 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.008887, allocations: 20.89 kB / 0.7934 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.008935, allocations: 29.73 kB / 0.7935 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.009183, allocations: 198.2 kB / 0.7936 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.009194, allocations: 4.188 kB / 0.7936 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.009208, allocations: 384 / 0.7936 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.009215, allocations: 5.656 kB / 0.7937 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.009332, allocations: 127.2 kB / 0.7938 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007351/0.01007, allocations: 0.5004 MB / 0.7943 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.01034, allocations: 178.5 kB / 0.7944 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.01047, allocations: 139.9 kB / 0.7946 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.01047, allocations: 0 / 0.7946 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.01071, allocations: 250.7 kB / 0.7948 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.01071, allocations: 0 / 0.7948 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0004742/0.01118, allocations: 0.5049 MB / 0.7953 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.01124, allocations: 122.8 kB / 0.7954 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.0114, allocations: 283.8 kB / 0.7957 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.01144, allocations: 37.7 kB / 0.7957 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.01154, allocations: 179.4 kB / 0.7959 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.01158, allocations: 60.06 kB / 0.796 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.0117, allocations: 111.2 kB / 0.7961 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.01183, allocations: 0.5123 MB / 0.7966 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.01201, allocations: 215.8 kB / 0.7968 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.01228, allocations: 0.4928 MB / 0.7972 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.01256, allocations: 433.9 kB / 0.7977 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01257, allocations: 0 / 0.7977 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005242/0.01309, allocations: 0.6111 MB / 0.7983 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.017e-05/0.01317, allocations: 134.8 kB / 0.7984 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.01318, allocations: 4.812 kB / 0.7984 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.01319, allocations: 4 kB / 0.7984 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.01327, allocations: 28.73 kB / 0.7984 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01327, allocations: 4 kB / 0.7984 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.0135, allocations: 77.88 kB / 0.7985 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.01354, allocations: 20 kB / 0.7985 GB, free: 1.148 MB / 0.7448 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.0001618/0.0137, allocations: 265.7 kB / 0.7988 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.01374, allocations: 43.78 kB / 0.7988 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.01378, allocations: 22.66 kB / 0.7988 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.01378, allocations: 3.984 kB / 0.7988 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01379, allocations: 0 / 0.7988 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.01379, allocations: 3.984 kB / 0.7988 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.01441, allocations: 0.7225 MB / 0.7995 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01441, allocations: 0 / 0.7995 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.01445, allocations: 16.03 kB / 0.7996 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01446, allocations: 4 kB / 0.7996 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.01447, allocations: 11.83 kB / 0.7996 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01447, allocations: 0 / 0.7996 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01448, allocations: 0 / 0.7996 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.01483, allocations: 0.5652 MB / 0.8001 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.01486, allocations: 19.86 kB / 0.8001 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.01489, allocations: 17.14 kB / 0.8002 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.01497, allocations: 15.98 kB / 0.8002 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.01504, allocations: 39.95 kB / 0.8002 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.01506, allocations: 12.56 kB / 0.8002 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.504e-05/0.01514, allocations: 186.6 kB / 0.8004 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01514, allocations: 0 / 0.8004 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002796/0.01542, allocations: 79.94 kB / 0.8005 GB, free: 15.01 MB / 0.7605 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.0001861/0.01561, allocations: 151.2 kB / 0.8006 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.01608, allocations: 0.6763 MB / 0.8013 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01608, allocations: 0 / 0.8013 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.01626, allocations: 302.8 kB / 0.8016 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.01654, allocations: 68.72 kB / 0.8016 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.0171, allocations: 0.5013 MB / 0.8021 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.321e-05/0.01716, allocations: 87.84 kB / 0.8022 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.353e-05/0.01722, allocations: 21.95 kB / 0.8022 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.01745, allocations: 170.1 kB / 0.8024 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of SimCode: time 6.52e-07/0.01745, allocations: 0 / 0.8024 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of Templates: time 0.007522/0.02497, allocations: 5.83 MB / 0.8081 GB, free: 7.172 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.129321142099798]