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.001057/0.001057, 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.001098/0.001098, 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 0.9541/0.9541, allocations: 177.2 MB / 204.2 MB, free: 5.625 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.802/1.802, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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 2.975e-06/2.975e-06, allocations: 0 / 0.8116 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.128e-05, allocations: 6.312 kB / 0.8116 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001456/0.001487, allocations: 0.6683 MB / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.002724, allocations: 1.233 MB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.002769, allocations: 0.7812 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.002801, allocations: 3.938 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.002878, allocations: 13.5 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.003426, allocations: 212.9 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.003626, allocations: 175.7 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.003715, allocations: 8 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.00383, allocations: 93.67 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.003939, allocations: 55.78 kB / 0.814 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.003969, allocations: 16 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.601e-05/0.004035, allocations: 27.98 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.004056, allocations: 5.094 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.004119, allocations: 55.88 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.004295, allocations: 139.6 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004298, allocations: 0.875 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004299, allocations: 0 / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004303, allocations: 0 / 0.8142 GB, free: 15.04 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.000447/0.00475, allocations: 464.9 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.004788, allocations: 12.03 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.004849, allocations: 12.89 kB / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.963e-05/0.004938, allocations: 118.9 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.004955, allocations: 12.36 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.004976, allocations: 8.375 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.411e-05/0.00506, allocations: 38.25 kB / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005067, allocations: 192 / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.005077, allocations: 4.375 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.005085, allocations: 4.906 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.005109, allocations: 12.64 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.005477, allocations: 331.6 kB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.779e-05/0.005544, allocations: 31.59 kB / 0.8152 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.005565, allocations: 13.36 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.005572, allocations: 4 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.005675, allocations: 96.88 kB / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.005677, allocations: 0 / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001929/0.00587, allocations: 90.25 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.005904, allocations: 60.08 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.485e-05/0.005989, allocations: 177.9 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.00601, allocations: 30.39 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.006063, allocations: 134.9 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.006079, allocations: 24.69 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.00614, allocations: 51.34 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.006241, allocations: 497.5 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.006348, allocations: 115.3 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.006461, allocations: 157.8 kB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.00659, allocations: 163.5 kB / 0.8167 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.006594, allocations: 4 kB / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004307/0.007024, allocations: 317.4 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.007066, allocations: 72.2 kB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.007073, allocations: 4 kB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.007087, allocations: 0 / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.089e-05/0.007108, allocations: 10.2 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.007113, allocations: 4.25 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.007277, allocations: 35.97 kB / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.007297, allocations: 15.14 kB / 0.8172 GB, free: 11.66 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.328e-05/0.00738, allocations: 168.5 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.007395, allocations: 15.89 kB / 0.8174 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.007418, allocations: 8.422 kB / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.007421, allocations: 4.062 kB / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.007425, allocations: 4 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007428, allocations: 0 / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.751e-05/0.007516, allocations: 124.6 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007517, allocations: 1.219 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-06/0.007524, allocations: 4 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.007527, allocations: 0 / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.007535, allocations: 8.547 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007536, allocations: 0 / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.00754, allocations: 8.484 kB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.007657, allocations: 125.5 kB / 0.8176 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.007664, allocations: 3.953 kB / 0.8176 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.007675, allocations: 3.938 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.205e-05/0.007687, allocations: 5.094 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.007723, allocations: 3.984 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.007732, allocations: 8 kB / 0.8177 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.007773, allocations: 131.8 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007773, allocations: 0 / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001731/0.007947, allocations: 32.81 kB / 0.8178 GB, free: 10.95 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.0001277/0.008074, allocations: 108.3 kB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.008329, allocations: 274.8 kB / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.008331, allocations: 0 / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.511e-05/0.008366, allocations: 27.69 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.008555, allocations: 17.83 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.008843, allocations: 155.9 kB / 0.8184 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.358e-05/0.008877, allocations: 63.2 kB / 0.8184 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.008901, allocations: 4.969 kB / 0.8184 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.008921, allocations: 12.5 kB / 0.8184 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.008921, allocations: 0.6562 kB / 0.8184 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.003803/0.01272, allocations: 2.254 MB / 0.8206 GB, free: 8.023 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.023303057067096]