Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.001093/0.001093, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001201/0.001201, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.012/1.012, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.901/1.901, allocations: 377.8 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] 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.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.448e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00515/0.005185, allocations: 0.6696 MB / 0.8122 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.006773, allocations: 1.238 MB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.006825, allocations: 0 / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.749e-05/0.006863, allocations: 6.344 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.415e-05/0.006947, allocations: 15.92 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.01066, allocations: 208.4 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.01088, allocations: 171.7 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.01099, allocations: 8.938 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.01113, allocations: 95.88 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.01125, allocations: 47.91 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.01129, allocations: 13.34 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.22e-05/0.01137, allocations: 39.86 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.01139, allocations: 11.98 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.01147, allocations: 45.89 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.01168, allocations: 135.7 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.01168, allocations: 0 / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01168, allocations: 0 / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.01169, allocations: 0 / 0.8142 GB, free: 15.03 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.0005021/0.01219, allocations: 463.8 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.01223, allocations: 13.7 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.0123, allocations: 16.89 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.522e-05/0.01239, allocations: 120.5 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.01241, allocations: 4.375 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.01244, allocations: 9.281 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.89e-05/0.01254, allocations: 46.23 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01255, allocations: 192 / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.01256, allocations: 0.9062 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.01257, allocations: 0.9688 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.0126, allocations: 19.81 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.01301, allocations: 324.2 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/0.0161, allocations: 40.27 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.01612, allocations: 11.78 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.01613, allocations: 12.5 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.01627, allocations: 90.27 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.01627, allocations: 0 / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002369/0.0165, allocations: 93.61 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.01654, allocations: 55.41 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.01664, allocations: 183 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.01667, allocations: 33.7 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.01673, allocations: 130.9 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.01675, allocations: 24.86 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.01684, allocations: 51.34 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.01697, allocations: 0.4923 MB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.01711, allocations: 112.2 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.01726, allocations: 153.8 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.01742, allocations: 163.9 kB / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01742, allocations: 0 / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003925/0.01782, allocations: 321 kB / 0.817 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.01787, allocations: 68.55 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.01787, allocations: 4 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.01789, allocations: 0 / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.077e-05/0.01791, allocations: 9.375 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.01792, allocations: 4 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.01813, allocations: 37.42 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.01816, allocations: 19.98 kB / 0.8172 GB, free: 11.64 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,nor1.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 9.218e-05/0.01825, allocations: 171.4 kB / 0.8173 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.01827, allocations: 11.89 kB / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.0183, allocations: 8.438 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.0183, allocations: 0 / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.0183, allocations: 4 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01831, allocations: 3.984 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.133e-05/0.0184, allocations: 120.6 kB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.0184, allocations: 0 / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-06/0.01841, allocations: 8.438 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01841, allocations: 5.25 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.01842, allocations: 7.938 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01842, allocations: 0 / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01842, allocations: 0 / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.01855, allocations: 117.2 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.01856, allocations: 7.953 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.01858, allocations: 9.266 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.0186, allocations: 8 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.01863, allocations: 3.984 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.01864, allocations: 4 kB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.01869, allocations: 132.1 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01869, allocations: 0 / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003251/0.02194, allocations: 28.58 kB / 0.8178 GB, free: 10.94 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,nor1.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 0.0001504/0.02209, allocations: 107.8 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.0224, allocations: 276.5 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0224, allocations: 0 / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.02244, allocations: 27.67 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.02266, allocations: 22.11 kB / 0.8182 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.02299, allocations: 158.9 kB / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.782e-05/0.02303, allocations: 67.14 kB / 0.8184 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.02305, allocations: 4 kB / 0.8184 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.02308, allocations: 12.5 kB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of SimCode: time 6.42e-07/0.02308, allocations: 0 / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.005381/0.02846, allocations: 2.059 MB / 0.8205 GB, free: 8.195 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.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.457186306361109]