Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.868/2.868, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 71.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 168.7 MB / 1.274 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002094/1.051, allocations: 0.6511 MB / 1.275 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00185/1.053, allocations: 1.194 MB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.119e-05/1.053, allocations: 3.938 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/1.053, allocations: 0 / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.501e-05/1.053, allocations: 19.84 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/1.054, allocations: 217.7 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/1.054, allocations: 175.7 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/1.055, allocations: 11.97 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/1.055, allocations: 67.89 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/1.055, allocations: 63.78 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/1.055, allocations: 12 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/1.055, allocations: 31.98 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/1.055, allocations: 8 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/1.055, allocations: 55.81 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/1.055, allocations: 151.5 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.055, allocations: 3.984 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.474e-06/1.055, allocations: 0 / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.72e-06/1.055, allocations: 4 kB / 1.277 GB, free: 1.73 MB / 0.9669 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.0006367/1.056, allocations: 441.4 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.056, allocations: 11.97 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/1.056, allocations: 12.89 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/1.056, allocations: 168.4 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/1.056, allocations: 8.375 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/1.056, allocations: 12.31 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/1.057, allocations: 50.23 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.057, allocations: 192 / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/1.057, allocations: 11.94 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.057, allocations: 0 / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.304e-05/1.057, allocations: 12 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/1.057, allocations: 352.7 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/1.057, allocations: 38.44 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/1.057, allocations: 16.86 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/1.057, allocations: 4 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/1.057, allocations: 81 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/1.057, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002573/1.058, allocations: 109.5 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.058, allocations: 55.41 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/1.058, allocations: 113.8 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/1.058, allocations: 29.7 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.058, allocations: 100.1 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/1.058, allocations: 15.91 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/1.058, allocations: 49.69 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0003324/1.058, allocations: 318.8 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/1.059, allocations: 63.95 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/1.059, allocations: 92.02 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/1.059, allocations: 171.6 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.059, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000452/1.059, allocations: 264.9 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.265e-05/1.06, allocations: 67.39 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.06, allocations: 4.125 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.06, allocations: 4 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.93e-05/1.06, allocations: 0 / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/1.06, allocations: 4 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/1.06, allocations: 59.83 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/1.06, allocations: 15.92 kB / 1.279 GB, free: 14.73 MB / 0.9825 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.0001636/1.06, allocations: 133.1 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/1.06, allocations: 7.953 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/1.06, allocations: 12.36 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.06, allocations: 7.984 kB / 1.279 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.06, allocations: 0 / 1.279 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.06, allocations: 0 / 1.279 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/1.06, allocations: 173.6 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.06, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-06/1.06, allocations: 64 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.06, allocations: 4 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/1.06, allocations: 11.98 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.06, allocations: 0 / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.06, allocations: 0 / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/1.061, allocations: 113 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/1.061, allocations: 77.11 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/1.061, allocations: 3.938 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.361e-05/1.061, allocations: 4 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/1.061, allocations: 7.984 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/1.061, allocations: 8 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.373e-05/1.061, allocations: 95.2 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.061, allocations: 0 / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002399/1.061, allocations: 32 kB / 1.28 GB, free: 13.96 MB / 0.9825 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.0001842/1.061, allocations: 103.2 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003723/1.062, allocations: 218.6 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.062, allocations: 256 / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.242e-05/1.062, allocations: 27.98 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/1.062, allocations: 22.05 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/1.062, allocations: 170.6 kB / 1.28 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/1.063, allocations: 0.6885 MB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.481e-05/1.063, allocations: 4 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/1.063, allocations: 11.44 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/1.063, allocations: 0 / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of Templates: time 0.005323/1.068, allocations: 1.853 MB / 1.283 GB, free: 10.8 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.196838906034827]