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.00104/0.00104, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00123/0.00123, allocations: 173 kB / 24.28 MB, free: 280 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.001/1.001, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.899/1.899, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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.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 1.833e-06/1.833e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/2.015e-05, allocations: 7.156 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001194/0.001214, allocations: 0.6634 MB / 0.8122 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.002414, allocations: 1.238 MB / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.00246, allocations: 0 / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.002486, allocations: 4.5 kB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.002556, allocations: 16.64 kB / 0.8134 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.003079, allocations: 209.1 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.003287, allocations: 176.7 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.003383, allocations: 4 kB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.003507, allocations: 99.86 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.003611, allocations: 48.69 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.003638, allocations: 12 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.986e-05/0.003708, allocations: 33.67 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.00373, allocations: 7.938 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.003794, allocations: 51.94 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.003979, allocations: 131.5 kB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003982, allocations: 4 kB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003983, allocations: 1.531 kB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.003987, allocations: 0 / 0.8142 GB, free: 15.39 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.0004337/0.004421, allocations: 467.8 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.004464, allocations: 8.031 kB / 0.8146 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.00453, allocations: 18.05 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.664e-05/0.004627, allocations: 116.5 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.004644, allocations: 4.375 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.004668, allocations: 17.73 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.004769, allocations: 42.19 kB / 0.8148 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.004777, allocations: 192 / 0.8148 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.004789, allocations: 4.375 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.004797, allocations: 2.125 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.702e-05/0.004824, allocations: 15.92 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.005207, allocations: 323.7 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.254e-05/0.00528, allocations: 35.56 kB / 0.8152 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.005302, allocations: 15.77 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.00531, allocations: 4.969 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.005413, allocations: 80.97 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.005414, allocations: 0.5312 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000191/0.005605, allocations: 103 kB / 0.8154 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.00564, allocations: 59.39 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/0.005725, allocations: 177.9 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.005746, allocations: 33.64 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.0058, allocations: 137.5 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.005815, allocations: 15.89 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.005876, allocations: 55.34 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.005984, allocations: 496.1 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.00609, allocations: 111.4 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.006208, allocations: 157.8 kB / 0.8166 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.006332, allocations: 162.9 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.006336, allocations: 4.531 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003105/0.006646, allocations: 325.8 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.006696, allocations: 67.39 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.006702, allocations: 0 / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.006718, allocations: 4.5 kB / 0.8171 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.288e-05/0.006741, allocations: 8.578 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.006747, allocations: 0 / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.006924, allocations: 33.25 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.00695, allocations: 17.11 kB / 0.8171 GB, free: 12.01 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 0.0001048/0.007054, allocations: 172.5 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.007071, allocations: 12.8 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.007103, allocations: 12.42 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.007105, allocations: 0.8438 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.007112, allocations: 4 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.007118, allocations: 2.219 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.007225, allocations: 128.6 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.007228, allocations: 0 / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-06/0.007233, allocations: 0 / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007235, allocations: 4 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.007247, allocations: 7.922 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.007249, allocations: 2.781 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.00725, allocations: 0 / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.007383, allocations: 128.6 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.007393, allocations: 7.953 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.00741, allocations: 3.938 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.007421, allocations: 0 / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.007473, allocations: 7.984 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.007483, allocations: 8 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.068e-05/0.007534, allocations: 136.6 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007534, allocations: 0 / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000183/0.007717, allocations: 28 kB / 0.8178 GB, free: 11.29 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.0001186/0.007835, allocations: 103.7 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.008094, allocations: 280.3 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008096, allocations: 0 / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.447e-05/0.008131, allocations: 31.62 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.008302, allocations: 18.08 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.008595, allocations: 150.9 kB / 0.8183 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.485e-05/0.00863, allocations: 63.2 kB / 0.8184 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.008654, allocations: 5.062 kB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.008677, allocations: 12.5 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of SimCode: time 1.463e-06/0.008678, allocations: 0.6562 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.003561/0.01224, allocations: 2.07 MB / 0.8204 GB, free: 8.547 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.209000097820535]