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.0009612/0.0009612, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.000962/0.000962, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.045/1.045, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.908/1.908, allocations: 377.9 MB / 0.624 GB, free: 8.43 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 5.49e-06/5.49e-06, allocations: 4 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.788e-05, allocations: 2.312 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001599/0.001637, allocations: 0.6657 MB / 0.8127 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.00301, allocations: 1.23 MB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.003072, allocations: 4 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.003104, allocations: 0 / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.003204, allocations: 12.53 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.003776, allocations: 213 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.003965, allocations: 176.3 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.004051, allocations: 10.39 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.004175, allocations: 91.92 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.004291, allocations: 59.78 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.004322, allocations: 16 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.157e-05/0.004394, allocations: 23.98 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.004417, allocations: 8 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.004469, allocations: 56.81 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.004641, allocations: 131.7 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004644, allocations: 0 / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004646, allocations: 0.9062 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.00465, allocations: 0 / 0.8146 GB, free: 14.76 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.000426/0.005076, allocations: 468.9 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.005121, allocations: 8.031 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.00517, allocations: 16.83 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.288e-05/0.005263, allocations: 121.8 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.00528, allocations: 8.375 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.005301, allocations: 16.38 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.717e-05/0.005378, allocations: 38.23 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005386, allocations: 2.125 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.005394, allocations: 4.375 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.0054, allocations: 384 / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.502e-05/0.005415, allocations: 11.92 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.005721, allocations: 308.3 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.668e-05/0.005778, allocations: 40.72 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.005793, allocations: 11.69 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.005801, allocations: 0 / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.005908, allocations: 86 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005909, allocations: 0 / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001926/0.006102, allocations: 98.03 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.006137, allocations: 51.41 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/0.006226, allocations: 178.3 kB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.00625, allocations: 30.23 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.006521, allocations: 138.9 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.006536, allocations: 17.05 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.00661, allocations: 59.33 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.006753, allocations: 0.4884 MB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.376e-05/0.006847, allocations: 95.88 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.006948, allocations: 154.2 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.007066, allocations: 155.1 kB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007068, allocations: 1.156 kB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002697/0.007338, allocations: 305.1 kB / 0.8174 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.007382, allocations: 71.33 kB / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.007388, allocations: 0.8438 kB / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.007401, allocations: 0 / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-05/0.00742, allocations: 9.281 kB / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.007423, allocations: 0 / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.007584, allocations: 44.73 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.007602, allocations: 8 kB / 0.8176 GB, free: 11.45 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 8.895e-05/0.007691, allocations: 173.6 kB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.007703, allocations: 11.89 kB / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.007733, allocations: 17.75 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.007736, allocations: 0 / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.007738, allocations: 0 / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.007742, allocations: 1.375 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.772e-05/0.00783, allocations: 109.2 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.007832, allocations: 64 / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-06/0.00784, allocations: 8 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.007843, allocations: 2.969 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.007849, allocations: 3.984 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.00785, allocations: 320 / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.007852, allocations: 3.938 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.007967, allocations: 124.3 kB / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-06/0.007976, allocations: 7.953 kB / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.007985, allocations: 0 / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.151e-05/0.007996, allocations: 0 / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.008026, allocations: 16.42 kB / 0.818 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.008031, allocations: 0 / 0.818 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.008074, allocations: 136.4 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008075, allocations: 0 / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00016/0.008235, allocations: 28 kB / 0.8182 GB, free: 10.77 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.0001258/0.00836, allocations: 100.2 kB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.008572, allocations: 263.1 kB / 0.8185 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.008574, allocations: 0 / 0.8185 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.729e-05/0.008601, allocations: 32.62 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.008777, allocations: 17.23 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.00903, allocations: 155.5 kB / 0.8187 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.009061, allocations: 65.86 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.342e-05/0.009085, allocations: 4 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.009188, allocations: 106.2 kB / 0.8189 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.009188, allocations: 0 / 0.8189 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of Templates: time 0.00399/0.01318, allocations: 2.234 MB / 0.8211 GB, free: 7.781 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.155096939299256]