Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001425/0.001425, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001154/0.001154, allocations: 170 kB / 24.86 MB, free: 9.27 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.9895/0.9895, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.867/1.867, allocations: 377.9 MB / 0.6247 GB, free: 8.445 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.281e-05, allocations: 6.906 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002144/0.002177, allocations: 0.6612 MB / 0.8134 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003435, allocations: 1.235 MB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.003477, allocations: 0 / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.003502, allocations: 3.938 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.003571, allocations: 11.92 kB / 0.8147 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.004025, allocations: 212.3 kB / 0.8149 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.004199, allocations: 172.7 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.536e-05/0.004274, allocations: 8 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.004382, allocations: 97.34 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.613e-05/0.004478, allocations: 51.8 kB / 0.8152 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.004504, allocations: 16 kB / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.917e-05/0.004563, allocations: 33.92 kB / 0.8152 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.004582, allocations: 3.984 kB / 0.8152 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.108e-05/0.004633, allocations: 55.89 kB / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.004791, allocations: 131.6 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004794, allocations: 0 / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.62e-07/0.004794, allocations: 0 / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.004799, allocations: 5.594 kB / 0.8154 GB, free: 14.78 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000378/0.005177, allocations: 463.8 kB / 0.8159 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.005207, allocations: 8.031 kB / 0.8159 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.005249, allocations: 12.89 kB / 0.8159 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.305e-05/0.005332, allocations: 125.5 kB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.005348, allocations: 8.375 kB / 0.816 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.005366, allocations: 8.375 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.58e-05/0.005431, allocations: 42.78 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.005438, allocations: 0.7188 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.005444, allocations: 1.438 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.005449, allocations: 384 / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.461e-05/0.005464, allocations: 11.92 kB / 0.8161 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.00575, allocations: 308.9 kB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.701e-05/0.005807, allocations: 35.59 kB / 0.8164 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.005826, allocations: 21.12 kB / 0.8164 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.005832, allocations: 3.984 kB / 0.8164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.82e-05/0.00592, allocations: 76.97 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.005921, allocations: 0 / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001554/0.006077, allocations: 98.7 kB / 0.8166 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.006108, allocations: 55.41 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.006187, allocations: 173.8 kB / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.006209, allocations: 34.64 kB / 0.8168 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.006264, allocations: 138.9 kB / 0.817 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.006277, allocations: 16.73 kB / 0.817 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.006338, allocations: 59.31 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.006457, allocations: 0.4892 MB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.006535, allocations: 103.3 kB / 0.8176 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-05/0.006631, allocations: 145.8 kB / 0.8178 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.006742, allocations: 159.9 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006744, allocations: 0 / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002576/0.007002, allocations: 301.2 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.00704, allocations: 72.83 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.007045, allocations: 3.938 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.007054, allocations: 4 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-05/0.007068, allocations: 5.188 kB / 0.8183 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.007072, allocations: 4.312 kB / 0.8183 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.00722, allocations: 39.05 kB / 0.8183 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.853e-05/0.007239, allocations: 15.98 kB / 0.8183 GB, free: 11.48 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.42e-05/0.007313, allocations: 164.5 kB / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.007324, allocations: 11.95 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.007345, allocations: 12.38 kB / 0.8185 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.007346, allocations: 0 / 0.8185 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.007348, allocations: 0 / 0.8185 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.007353, allocations: 4.547 kB / 0.8185 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.047e-05/0.007423, allocations: 114.6 kB / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.007424, allocations: 0 / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-06/0.007428, allocations: 4 kB / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-07/0.007429, allocations: 0 / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-06/0.007433, allocations: 1.094 kB / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.007435, allocations: 7.922 kB / 0.8186 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.007436, allocations: 7.938 kB / 0.8186 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.684e-05/0.007523, allocations: 113 kB / 0.8188 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-06/0.00753, allocations: 7.953 kB / 0.8188 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.007539, allocations: 2.562 kB / 0.8188 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.00755, allocations: 7.984 kB / 0.8188 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.007574, allocations: 7.938 kB / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.007578, allocations: 4 kB / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.267e-05/0.00765, allocations: 127.2 kB / 0.8189 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00765, allocations: 0 / 0.8189 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001538/0.007804, allocations: 32 kB / 0.8189 GB, free: 10.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.669e-05/0.007901, allocations: 106 kB / 0.819 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.008104, allocations: 269.8 kB / 0.8193 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.008105, allocations: 0 / 0.8193 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/0.008131, allocations: 27.67 kB / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.008282, allocations: 21.14 kB / 0.8193 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.008493, allocations: 160.8 kB / 0.8195 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.009e-05/0.008523, allocations: 64.19 kB / 0.8196 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.008542, allocations: 7.984 kB / 0.8196 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.008649, allocations: 102.2 kB / 0.8197 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/0.00865, allocations: 1.125 kB / 0.8197 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of Templates: time 0.00371/0.01236, allocations: 2.275 MB / 0.8219 GB, free: 7.762 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.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.221865431871265]