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.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.00166/0.00166, allocations: 106 kB / 18.84 MB, free: 3.043 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.002042/0.002042, allocations: 187.6 kB / 22.1 MB, free: 5.152 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.577/1.577, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.444/3.444, allocations: 495.8 MB / 0.783 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 70.88 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.423, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002222/0.4252, allocations: 0.6653 MB / 1.307 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.4271, allocations: 1.198 MB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.4272, allocations: 4 kB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.4272, allocations: 3.938 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.763e-05/0.4273, allocations: 7.875 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.4279, allocations: 225.9 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.4282, allocations: 163.8 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.4283, allocations: 11.98 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.4284, allocations: 67.89 kB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.4286, allocations: 67.8 kB / 1.309 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.4287, allocations: 16 kB / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-05/0.4288, allocations: 23.98 kB / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.788e-05/0.4288, allocations: 15.97 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.4289, allocations: 55.84 kB / 1.309 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.4292, allocations: 151.4 kB / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4292, allocations: 0 / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4292, allocations: 4 kB / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4292, allocations: 0 / 1.309 GB, free: 15.18 MB / 1.014 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.0006416/0.4299, allocations: 365.5 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4299, allocations: 12.03 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.43, allocations: 8.891 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.4301, allocations: 110.5 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.4301, allocations: 8.375 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.4302, allocations: 16.31 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.4303, allocations: 50.23 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4303, allocations: 192 / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.4303, allocations: 7.875 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4303, allocations: 0 / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.279e-05/0.4304, allocations: 20 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.4309, allocations: 323.8 kB / 1.31 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.444e-05/0.431, allocations: 34.5 kB / 1.31 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.4311, allocations: 20.78 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.4311, allocations: 3.938 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.4313, allocations: 91.44 kB / 1.31 GB, free: 13.99 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.4313, allocations: 0 / 1.31 GB, free: 13.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0002711/0.4316, allocations: 97.62 kB / 1.31 GB, free: 13.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.4316, allocations: 59.41 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4317, allocations: 117.8 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.4318, allocations: 29.7 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.4319, allocations: 96.08 kB / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.4319, allocations: 19.89 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.432, allocations: 53.69 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4321, allocations: 318.8 kB / 1.311 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4323, allocations: 59.97 kB / 1.311 GB, free: 13.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.4325, allocations: 88.27 kB / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.4327, allocations: 159.6 kB / 1.311 GB, free: 12.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4327, allocations: 4 kB / 1.311 GB, free: 12.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004471/0.4331, allocations: 261.4 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.048e-05/0.4332, allocations: 67.39 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4332, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4332, allocations: 4 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.498e-05/0.4332, allocations: 12 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4332, allocations: 4 kB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.4336, allocations: 51.89 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.4336, allocations: 15.98 kB / 1.312 GB, free: 12.38 MB / 1.014 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.0001207/0.4338, allocations: 130.5 kB / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.4338, allocations: 7.953 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.4338, allocations: 12.36 kB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4338, allocations: 7.938 kB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4338, allocations: 0 / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4338, allocations: 0 / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.434, allocations: 148.7 kB / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.434, allocations: 0 / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.434, allocations: 3.938 kB / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.434, allocations: 3.984 kB / 1.312 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.434, allocations: 4 kB / 1.312 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.434, allocations: 64 / 1.312 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.434, allocations: 8 kB / 1.312 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.4342, allocations: 117 kB / 1.312 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.4342, allocations: 0 / 1.312 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.4342, allocations: 4 kB / 1.312 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.842e-05/0.4342, allocations: 0 / 1.312 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.4342, allocations: 11.98 kB / 1.312 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.4342, allocations: 0 / 1.312 GB, free: 11.85 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.718e-05/0.4343, allocations: 91.27 kB / 1.312 GB, free: 11.76 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4343, allocations: 4 kB / 1.312 GB, free: 11.76 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002656/0.4346, allocations: 32 kB / 1.312 GB, free: 11.73 MB / 1.014 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.0001455/0.4347, allocations: 103.2 kB / 1.312 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.4351, allocations: 214.6 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4351, allocations: 0 / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.4351, allocations: 23.98 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.4354, allocations: 25.94 kB / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.4357, allocations: 155.6 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.436, allocations: 0.6923 MB / 1.314 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.55e-05/0.436, allocations: 4 kB / 1.314 GB, free: 10.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.4361, allocations: 11.44 kB / 1.314 GB, free: 10.42 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.4361, allocations: 0 / 1.314 GB, free: 10.42 MB / 1.014 GB Notification: Performance of Templates: time 0.004807/0.4409, allocations: 1.873 MB / 1.315 GB, free: 8.57 MB / 1.014 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 -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/jenkins/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.54736656229943]