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.0009543/0.0009543, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009544/0.0009544, allocations: 161 kB / 24.17 MB, free: 332 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.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.891/1.891, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.535e-06/2.535e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.611e-05, allocations: 5.281 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.004595/0.004621, allocations: 0.6721 MB / 0.7607 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.006031, allocations: 1.245 MB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-05/0.006074, allocations: 0 / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.006101, allocations: 3.938 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.684e-05/0.006188, allocations: 13.44 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.006714, allocations: 216.8 kB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.006918, allocations: 165.2 kB / 0.7623 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.376e-05/0.006992, allocations: 11.98 kB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.01012, allocations: 91.44 kB / 0.7624 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.01024, allocations: 51.84 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.01027, allocations: 16.56 kB / 0.7624 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.11e-05/0.01034, allocations: 31.98 kB / 0.7625 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.01036, allocations: 5.484 kB / 0.7625 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.01042, allocations: 55.89 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.01061, allocations: 131.7 kB / 0.7627 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.01061, allocations: 0 / 0.7627 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01061, allocations: 1.219 kB / 0.7627 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.01062, allocations: 7.938 kB / 0.7627 GB, free: 3.98 MB / 0.7136 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.0003809/0.011, allocations: 328.2 kB / 0.763 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.01103, allocations: 9.406 kB / 0.763 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.01108, allocations: 12.92 kB / 0.763 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.096e-05/0.01117, allocations: 113.7 kB / 0.7631 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.01118, allocations: 8.375 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.01121, allocations: 13.5 kB / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.289e-05/0.01128, allocations: 42.23 kB / 0.7632 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.01129, allocations: 192 / 0.7632 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.0113, allocations: 5.156 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.0113, allocations: 384 / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.757e-05/0.01132, allocations: 12.95 kB / 0.7632 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.01159, allocations: 180.2 kB / 0.7634 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.578e-05/0.01165, allocations: 27.25 kB / 0.7634 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.01166, allocations: 10.64 kB / 0.7634 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.01167, allocations: 0 / 0.7634 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.775e-05/0.01177, allocations: 87.39 kB / 0.7635 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.01177, allocations: 0 / 0.7635 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001355/0.0119, allocations: 69.61 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.01194, allocations: 56.5 kB / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.01201, allocations: 126.7 kB / 0.7637 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.01204, allocations: 29.7 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.01208, allocations: 92.83 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.01209, allocations: 11.95 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.01216, allocations: 46.41 kB / 0.7639 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.01225, allocations: 318.8 kB / 0.7642 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.01234, allocations: 99.88 kB / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/0.01243, allocations: 133.6 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.01255, allocations: 139.6 kB / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01255, allocations: 5.031 kB / 0.7646 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002431/0.0128, allocations: 257.3 kB / 0.7648 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.01284, allocations: 67.39 kB / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01285, allocations: 6.094 kB / 0.7649 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.01286, allocations: 4 kB / 0.7649 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.655e-05/0.01288, allocations: 3.984 kB / 0.7649 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01288, allocations: 11.88 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/0.01607, allocations: 38.67 kB / 0.7649 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.01609, allocations: 15.98 kB / 0.7649 GB, free: 1.391 MB / 0.7136 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 7.919e-05/0.01617, allocations: 124 kB / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.01619, allocations: 11.98 kB / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.01621, allocations: 8.375 kB / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01622, allocations: 0 / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.01622, allocations: 1.5 kB / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.01622, allocations: 0 / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.966e-05/0.0163, allocations: 77.88 kB / 0.7652 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.0163, allocations: 0 / 0.7652 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-06/0.01631, allocations: 4.938 kB / 0.7652 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01631, allocations: 0 / 0.7652 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.01632, allocations: 4 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01632, allocations: 0.9375 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.01632, allocations: 3.938 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.153e-05/0.01641, allocations: 86.03 kB / 0.7653 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.01642, allocations: 7.938 kB / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.01643, allocations: 4 kB / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.01645, allocations: 5.844 kB / 0.7653 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.01648, allocations: 7.922 kB / 0.7653 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.01649, allocations: 4 kB / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.914e-05/0.0165, allocations: 17.31 kB / 0.7653 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.01651, allocations: 0 / 0.7653 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001946/0.0167, allocations: 32.64 kB / 0.7653 GB, free: 0.9531 MB / 0.7136 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.0001279/0.01683, allocations: 85.02 kB / 0.7654 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.01706, allocations: 259.1 kB / 0.7657 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.01706, allocations: 3.938 kB / 0.7657 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-05/0.01709, allocations: 28.81 kB / 0.7657 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.01722, allocations: 18.55 kB / 0.7657 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.01748, allocations: 157.1 kB / 0.7659 GB, free: 348 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.181e-05/0.01751, allocations: 57.83 kB / 0.7659 GB, free: 272 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.01753, allocations: 7.984 kB / 0.7659 GB, free: 264 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.01764, allocations: 79.28 kB / 0.766 GB, free: 184 kB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.01764, allocations: 3.938 kB / 0.766 GB, free: 180 kB / 0.7136 GB Notification: Performance of Templates: time 0.01054/0.02818, allocations: 2.224 MB / 0.7682 GB, free: 14.08 MB / 0.7292 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.180729292333126]