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.00099/0.00099, allocations: 81.95 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.0009686/0.0009686, allocations: 163.6 kB / 24.86 MB, free: 9.289 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.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.939/1.939, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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.305e-06/2.305e-06, allocations: 0 / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.806e-05, allocations: 5.469 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001507/0.001535, allocations: 0.6665 MB / 0.8134 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.002928, allocations: 1.226 MB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.002978, allocations: 0 / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.003006, allocations: 3.938 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.193e-05/0.003088, allocations: 17.23 kB / 0.8147 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.003554, allocations: 208.1 kB / 0.8149 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.003734, allocations: 180.5 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.003819, allocations: 4 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.003929, allocations: 92.58 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.004036, allocations: 51.84 kB / 0.8152 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.004062, allocations: 16.69 kB / 0.8152 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.499e-05/0.004127, allocations: 31.92 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.004151, allocations: 13.23 kB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.004204, allocations: 47.89 kB / 0.8153 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.004369, allocations: 131.8 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.004372, allocations: 2.125 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004373, allocations: 0 / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.004377, allocations: 3.938 kB / 0.8154 GB, free: 14.79 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.0005043/0.004882, allocations: 467.8 kB / 0.8159 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.004922, allocations: 12.03 kB / 0.8159 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.004971, allocations: 12.89 kB / 0.8159 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/0.005064, allocations: 121.4 kB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.00508, allocations: 8.359 kB / 0.816 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.005099, allocations: 9.906 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.5e-05/0.005174, allocations: 42.25 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.005182, allocations: 192 / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.005191, allocations: 384 / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.005196, allocations: 1.375 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.005218, allocations: 23.86 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.005557, allocations: 309 kB / 0.8164 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.005619, allocations: 31.06 kB / 0.8164 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.005635, allocations: 12.3 kB / 0.8164 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.005642, allocations: 4.625 kB / 0.8164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.00575, allocations: 81.48 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.005752, allocations: 4 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000175/0.005927, allocations: 86.34 kB / 0.8166 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.005962, allocations: 55.41 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.006048, allocations: 186.7 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.00607, allocations: 33.64 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.006125, allocations: 135.4 kB / 0.817 GB, free: 13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.006138, allocations: 15.89 kB / 0.817 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/0.006199, allocations: 52.7 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.006307, allocations: 0.4923 MB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.006394, allocations: 103.4 kB / 0.8176 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.723e-05/0.006491, allocations: 147.1 kB / 0.8178 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.006604, allocations: 154.4 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006606, allocations: 0.7188 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002634/0.00687, allocations: 301.8 kB / 0.8182 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.006915, allocations: 71.33 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.006921, allocations: 4 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.006932, allocations: 0.5938 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.907e-05/0.006951, allocations: 7.938 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.006954, allocations: 2.156 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.007118, allocations: 43.89 kB / 0.8183 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.00714, allocations: 16.86 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,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.071e-05/0.00722, allocations: 164.5 kB / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.007233, allocations: 15.42 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.007256, allocations: 12.38 kB / 0.8185 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007258, allocations: 0 / 0.8185 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.00726, allocations: 0 / 0.8185 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.007267, allocations: 7.984 kB / 0.8185 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.066e-05/0.007348, allocations: 105.2 kB / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.00735, allocations: 3.984 kB / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.007358, allocations: 3.938 kB / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.007359, allocations: 0 / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.007365, allocations: 4.625 kB / 0.8186 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.007365, allocations: 0 / 0.8186 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.00737, allocations: 9.672 kB / 0.8186 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.007475, allocations: 116.4 kB / 0.8188 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.007483, allocations: 7.953 kB / 0.8188 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.007491, allocations: 0 / 0.8188 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.277e-05/0.007504, allocations: 5.062 kB / 0.8188 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.007533, allocations: 7.922 kB / 0.8188 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.007539, allocations: 8 kB / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.00758, allocations: 133.2 kB / 0.8189 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00758, allocations: 7.938 kB / 0.8189 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000163/0.007743, allocations: 24 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,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.0001219/0.007865, allocations: 108.1 kB / 0.819 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003832/0.008248, allocations: 262.6 kB / 0.8193 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.008251, allocations: 0 / 0.8193 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.834e-05/0.008279, allocations: 29 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.000179/0.008458, allocations: 24.73 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.0002794/0.008737, allocations: 155.5 kB / 0.8195 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.04e-05/0.008768, allocations: 63.16 kB / 0.8196 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.008794, 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.000107/0.008901, allocations: 106.2 kB / 0.8197 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.008901, allocations: 0 / 0.8197 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of Templates: time 0.003825/0.01273, allocations: 2.273 MB / 0.8219 GB, free: 7.77 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.289574227761477]