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.00172/0.00172, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002068/0.002068, allocations: 157.8 kB / 23.01 MB, free: 4.949 MB / 14.72 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.479/1.479, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.915/2.915, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 63.91 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9683/0.9704, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00162/0.9721, allocations: 0.6471 MB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.9732, allocations: 1.198 MB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.9732, allocations: 2.938 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.9733, allocations: 3.938 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.432e-05/0.9733, allocations: 18.38 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.9739, allocations: 219.2 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.9741, allocations: 179.7 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.656e-05/0.9742, allocations: 8.781 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.29e-05/0.9743, allocations: 70.78 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.9744, allocations: 52.25 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.9744, allocations: 12.91 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.929e-05/0.9745, allocations: 30.84 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.9745, allocations: 9.812 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.9746, allocations: 54.8 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.9748, allocations: 151 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9748, allocations: 4 kB / 1.157 GB, free: 31.71 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9748, allocations: 4 kB / 1.157 GB, free: 31.71 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.9748, allocations: 2.844 kB / 1.157 GB, free: 31.71 MB / 1.076 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.0004123/0.9752, allocations: 354.8 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.9752, allocations: 11.25 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.9753, allocations: 10.44 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.239e-05/0.9754, allocations: 116.6 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.9754, allocations: 6.312 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.9754, allocations: 8.875 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.9755, allocations: 52.12 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.9755, allocations: 192 / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.9755, allocations: 7.875 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.9755, allocations: 4 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.719e-05/0.9756, allocations: 19.62 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.9759, allocations: 264.3 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.976, allocations: 34.55 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.976, allocations: 18.48 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.976, allocations: 0 / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.9762, allocations: 94.23 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.9762, allocations: 0 / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0002501/0.9764, allocations: 98.11 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.9765, allocations: 58.28 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.496e-05/0.9766, allocations: 123.6 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.9766, allocations: 35.42 kB / 1.158 GB, free: 30.56 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.9766, allocations: 86.08 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.9766, allocations: 19.22 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.9767, allocations: 47.2 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.9768, allocations: 320.7 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.9769, allocations: 120.3 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.977, allocations: 150.1 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.9772, allocations: 167.5 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9772, allocations: 0 / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003783/0.9776, allocations: 326.2 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.9776, allocations: 68.92 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.9776, allocations: 2.688 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9776, allocations: 0 / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.11e-05/0.9776, allocations: 6.531 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.9776, allocations: 10.09 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.978, allocations: 55.55 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.978, allocations: 15.97 kB / 1.159 GB, free: 29.46 MB / 1.076 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.053e-05/0.9781, allocations: 122.9 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.9781, allocations: 2.562 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.9781, allocations: 10.91 kB / 1.159 GB, free: 29.33 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9781, allocations: 0 / 1.159 GB, free: 29.33 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.9781, allocations: 11.36 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.9781, allocations: 2.531 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.102e-05/0.9782, allocations: 118.5 kB / 1.159 GB, free: 29.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9782, allocations: 0 / 1.159 GB, free: 29.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/0.9782, allocations: 4.062 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9782, allocations: 10.27 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.9782, allocations: 4 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9782, allocations: 0 / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.9782, allocations: 0 / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.9783, allocations: 120.6 kB / 1.159 GB, free: 29.08 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.9783, allocations: 11.02 kB / 1.159 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.9784, allocations: 7.094 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.9784, allocations: 3.125 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.9784, allocations: 5.875 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.9784, allocations: 6.781 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.9784, allocations: 88.14 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9784, allocations: 0 / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002419/0.9787, allocations: 27.59 kB / 1.16 GB, free: 28.99 MB / 1.076 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.0001121/0.9788, allocations: 106.6 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000294/0.9791, allocations: 283.6 kB / 1.16 GB, free: 28.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9791, allocations: 0 / 1.16 GB, free: 28.66 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.9791, allocations: 19.89 kB / 1.16 GB, free: 28.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.9794, allocations: 20.42 kB / 1.16 GB, free: 28.65 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.9796, allocations: 160.4 kB / 1.16 GB, free: 28.51 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.698e-05/0.9797, allocations: 71.45 kB / 1.16 GB, free: 28.44 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.359e-05/0.9797, allocations: 6.812 kB / 1.16 GB, free: 28.44 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.9797, allocations: 18.91 kB / 1.16 GB, free: 28.43 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.9797, allocations: 0 / 1.16 GB, free: 28.43 MB / 1.076 GB Notification: Performance of Templates: time 0.004198/0.9839, allocations: 2.053 MB / 1.162 GB, free: 28.18 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.122026149998419]