Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001467/0.001467, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001375/0.001375, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.502/1.502, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.024/3.024, allocations: 496.2 MB / 0.7819 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 75.88 kB / 1.136 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16/1.162, allocations: 173.6 MB / 1.305 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002135/1.164, allocations: 0.6519 MB / 1.306 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001996/1.166, allocations: 1.198 MB / 1.307 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/1.166, allocations: 4 kB / 1.307 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/1.166, allocations: 3.938 kB / 1.307 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.614e-05/1.166, allocations: 16.28 kB / 1.307 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007421/1.167, allocations: 217.3 kB / 1.307 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002765/1.167, allocations: 174 kB / 1.308 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/1.167, allocations: 8.859 kB / 1.308 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/1.168, allocations: 65.09 kB / 1.308 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/1.168, allocations: 77.02 kB / 1.308 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/1.168, allocations: 14.5 kB / 1.308 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/1.168, allocations: 24.91 kB / 1.308 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/1.168, allocations: 10 kB / 1.308 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/1.168, allocations: 60.56 kB / 1.308 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/1.168, allocations: 145.6 kB / 1.308 GB, free: 15.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.168, allocations: 0 / 1.308 GB, free: 15.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.206e-06/1.168, allocations: 5.984 kB / 1.308 GB, free: 15.06 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.168, allocations: 0 / 1.308 GB, free: 15.06 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.0007218/1.169, allocations: 443 kB / 1.308 GB, free: 14.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.169, allocations: 9.062 kB / 1.308 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/1.169, allocations: 13.22 kB / 1.308 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/1.169, allocations: 167.5 kB / 1.309 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/1.169, allocations: 9.25 kB / 1.309 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/1.169, allocations: 10.73 kB / 1.309 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/1.169, allocations: 44.94 kB / 1.309 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/1.169, allocations: 1.406 kB / 1.309 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/1.169, allocations: 8.641 kB / 1.309 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.169, allocations: 1.281 kB / 1.309 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/1.17, allocations: 21.56 kB / 1.309 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/1.17, allocations: 350.4 kB / 1.309 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.408e-05/1.17, allocations: 37.3 kB / 1.309 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/1.17, allocations: 11.14 kB / 1.309 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/1.17, allocations: 1.375 kB / 1.309 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/1.17, allocations: 89.38 kB / 1.309 GB, free: 13.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.973e-06/1.17, allocations: 0 / 1.309 GB, free: 13.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.000295/1.171, allocations: 100.5 kB / 1.309 GB, free: 13.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/1.171, allocations: 57.44 kB / 1.309 GB, free: 13.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/1.171, allocations: 120.6 kB / 1.309 GB, free: 13.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/1.171, allocations: 29.05 kB / 1.309 GB, free: 13.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/1.171, allocations: 98.17 kB / 1.31 GB, free: 13.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/1.171, allocations: 12.45 kB / 1.31 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/1.171, allocations: 59.59 kB / 1.31 GB, free: 13.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.171, allocations: 319.5 kB / 1.31 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/1.172, allocations: 59.7 kB / 1.31 GB, free: 13.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/1.172, allocations: 97.98 kB / 1.31 GB, free: 13.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/1.172, allocations: 158.4 kB / 1.31 GB, free: 13 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.172, allocations: 0 / 1.31 GB, free: 13 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004776/1.172, allocations: 260.3 kB / 1.311 GB, free: 12.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.456e-05/1.172, allocations: 68.95 kB / 1.311 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.172, allocations: 1.438 kB / 1.311 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.173, allocations: 2 kB / 1.311 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.614e-05/1.173, allocations: 11.47 kB / 1.311 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.173, allocations: 6.25 kB / 1.311 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/1.173, allocations: 59.62 kB / 1.311 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/1.173, allocations: 12.03 kB / 1.311 GB, free: 12.77 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.0001319/1.173, allocations: 127 kB / 1.311 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/1.173, allocations: 11.55 kB / 1.311 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/1.173, allocations: 10.36 kB / 1.311 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.173, allocations: 1.438 kB / 1.311 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.173, allocations: 0 / 1.311 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.173, allocations: 2.188 kB / 1.311 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/1.173, allocations: 182.4 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.173, allocations: 0 / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-05/1.173, allocations: 3.203 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.173, allocations: 0 / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/1.173, allocations: 6.562 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/1.173, allocations: 1.156 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.173, allocations: 7.938 kB / 1.311 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/1.173, allocations: 111.6 kB / 1.311 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/1.174, allocations: 79.97 kB / 1.311 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/1.174, allocations: 1.812 kB / 1.311 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.891e-05/1.174, allocations: 0.7031 kB / 1.311 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/1.174, allocations: 10.45 kB / 1.311 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/1.174, allocations: 2.875 kB / 1.311 GB, free: 12.22 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.461e-05/1.174, allocations: 93.56 kB / 1.311 GB, free: 12.14 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.174, allocations: 0 / 1.311 GB, free: 12.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002456/1.174, allocations: 27.52 kB / 1.311 GB, free: 12.14 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.0001922/1.174, allocations: 113 kB / 1.311 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004025/1.175, allocations: 223.3 kB / 1.312 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.175, allocations: 0 / 1.312 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.697e-05/1.175, allocations: 21.28 kB / 1.312 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/1.175, allocations: 22.12 kB / 1.312 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/1.175, allocations: 171.6 kB / 1.312 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/1.176, allocations: 0.6867 MB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.925e-05/1.176, allocations: 4.5 kB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/1.176, allocations: 11.2 kB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of SimCode: time 3.7e-07/1.176, allocations: 0 / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of Templates: time 0.005419/1.181, allocations: 1.862 MB / 1.314 GB, free: 10.42 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.722214275971055]