Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001374/0.001374, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001548/0.001548, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.988/2.988, allocations: 475.9 MB / 0.7699 GB, free: 4.812 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [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.002118/0.002118, allocations: 66.62 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4182, allocations: 169.9 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002585/0.4208, allocations: 0.6495 MB / 1.284 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.4228, allocations: 1.207 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.4229, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.4229, allocations: 3.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.423, allocations: 19.84 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.4238, allocations: 214.2 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.4241, allocations: 171.7 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4243, allocations: 7.984 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.4244, allocations: 67.89 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.4246, allocations: 59.78 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.4247, allocations: 16 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.4248, allocations: 24 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.4248, allocations: 11.92 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.4249, allocations: 55.89 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.4252, allocations: 151.5 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4252, allocations: 0 / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4252, allocations: 4 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.4252, allocations: 0 / 1.286 GB, free: 9.328 MB / 0.9825 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.000752/0.426, allocations: 365.5 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.426, allocations: 8.031 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.4261, allocations: 8.938 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.4263, allocations: 118.5 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.4263, allocations: 8.359 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.4263, allocations: 8.375 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.4265, allocations: 46.25 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4265, allocations: 192 / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.4265, allocations: 11.94 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4265, allocations: 3.938 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.108e-05/0.4265, allocations: 15.98 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.4271, allocations: 268.5 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.478e-05/0.4272, allocations: 30.58 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.4272, allocations: 24.88 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.4272, allocations: 0 / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.4275, allocations: 83.27 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.4275, allocations: 0 / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002798/0.4278, allocations: 101.7 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.4278, allocations: 55.41 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.4279, allocations: 133.7 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.428, allocations: 29.7 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.4281, allocations: 88.14 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.4281, allocations: 15.91 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.4282, allocations: 49.67 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4284, allocations: 318.8 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.4285, allocations: 119.4 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.4287, allocations: 155.7 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.429, allocations: 163.5 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.429, allocations: 0 / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004957/0.4295, allocations: 328.2 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.267e-05/0.4295, allocations: 71.33 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4295, allocations: 4 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.4295, allocations: 3.984 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.904e-05/0.4296, allocations: 8.062 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4296, allocations: 4 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.4299, allocations: 51.92 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.43, allocations: 12 kB / 1.288 GB, free: 6.379 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,or1.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.0001375/0.4301, allocations: 133.7 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.4301, allocations: 3.953 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.4301, allocations: 8.375 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4301, allocations: 4 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4301, allocations: 0 / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4302, allocations: 0 / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.4303, allocations: 125.7 kB / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4303, allocations: 0 / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.4303, allocations: 7.922 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4303, allocations: 0 / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4303, allocations: 4 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4303, allocations: 3.938 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4303, allocations: 0 / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.4305, allocations: 113 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.4305, allocations: 11.95 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.4305, allocations: 4 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.4305, allocations: 0 / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.4306, allocations: 7.984 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.4306, allocations: 0 / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.616e-05/0.4307, allocations: 91.27 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4307, allocations: 0 / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002487/0.4309, allocations: 32 kB / 1.289 GB, free: 5.781 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,or1.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.000214/0.4311, allocations: 103.2 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.4316, allocations: 286.1 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4316, allocations: 0 / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.783e-05/0.4316, allocations: 23.98 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.4319, allocations: 26.3 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.4324, allocations: 154.7 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.613e-05/0.4324, allocations: 77.61 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.173e-05/0.4325, allocations: 11.94 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.4325, allocations: 7.438 kB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.4325, allocations: 4 kB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of Templates: time 0.005544/0.438, allocations: 2.083 MB / 1.291 GB, free: 2.98 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.799329996109009]