Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001793/0.001793, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00234/0.00234, allocations: 210.9 kB / 22.99 MB, free: 4.984 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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 3.28/3.28, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_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_12_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.002178/0.002178, allocations: 72.27 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.417, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002104/0.4191, allocations: 0.6468 MB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.421, allocations: 1.206 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.421, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.421, allocations: 3.938 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.4211, allocations: 11.92 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.4218, allocations: 223.2 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.4221, allocations: 175.6 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4222, allocations: 12 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.4223, allocations: 67.89 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.4225, allocations: 67.78 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.4225, allocations: 16 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.4226, allocations: 24 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.4226, allocations: 15.92 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.603e-05/0.4227, allocations: 59.89 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.423, allocations: 147.6 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.423, allocations: 0 / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.485e-06/0.423, allocations: 0 / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.423, allocations: 3.938 kB / 1.33 GB, free: 14.34 MB / 1.029 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.0006304/0.4236, allocations: 361.5 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4237, allocations: 12.03 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.4237, allocations: 4.938 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.4239, allocations: 114.5 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.4239, allocations: 8.375 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.4239, allocations: 20.3 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.4241, allocations: 46.25 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4241, allocations: 192 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.4241, allocations: 3.938 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4241, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.772e-05/0.4241, allocations: 19.92 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.4246, allocations: 268.5 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.128e-05/0.4247, allocations: 26.58 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.4248, allocations: 20.88 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.4248, allocations: 4 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.425, allocations: 91.27 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.425, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002985/0.4253, allocations: 105.6 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.4253, allocations: 51.41 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4254, allocations: 125.8 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.4255, allocations: 29.7 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/0.4256, allocations: 88.14 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.4256, allocations: 11.91 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4257, allocations: 53.62 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4259, allocations: 322.8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.4261, allocations: 123.4 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.4263, allocations: 151.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.4265, allocations: 159.5 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4265, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004878/0.427, allocations: 332.2 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/0.4271, allocations: 67.39 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.4271, allocations: 4.125 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.4271, allocations: 4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.017e-05/0.4271, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4271, allocations: 7.938 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.4275, allocations: 51.89 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.4275, allocations: 15.98 kB / 1.332 GB, free: 11.39 MB / 1.029 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.0001295/0.4276, allocations: 129.7 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.4276, allocations: 7.984 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.4277, allocations: 4.375 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4277, allocations: 7.938 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4277, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4277, allocations: 480 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.4278, allocations: 117.2 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4278, allocations: 4 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.4278, allocations: 3.984 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.4278, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4278, allocations: 3.938 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4278, allocations: 8 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4278, allocations: 3.938 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.428, allocations: 113 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.428, allocations: 7.953 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.428, allocations: 4 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.4281, allocations: 0 / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.4281, allocations: 11.97 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.4281, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.798e-05/0.4282, allocations: 91.27 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4282, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002372/0.4284, allocations: 32 kB / 1.333 GB, free: 10.79 MB / 1.029 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.0001745/0.4286, allocations: 111.2 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.429, allocations: 278.2 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.429, allocations: 3.938 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.011e-05/0.429, allocations: 23.98 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.4293, allocations: 24.05 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.4296, allocations: 151 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.991e-05/0.4297, allocations: 67.34 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.4297, allocations: 7.984 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.4298, allocations: 11.44 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.4298, allocations: 0 / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of Templates: time 0.006557/0.4363, allocations: 2.097 MB / 1.335 GB, free: 7.98 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.34496836499602]