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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 106.6 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 225.6 MB / 249.9 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.659/2.659, allocations: 489.7 MB / 0.7761 GB, free: 2.441 MB / 0.6075 GB [Timeout remaining time 87] 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=521,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=521,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.002022/0.002022, allocations: 63.91 kB / 1.127 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8499/0.8519, allocations: 172.1 MB / 1.295 GB, free: 38.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001569/0.8535, allocations: 0.6492 MB / 1.296 GB, free: 38.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.8545, allocations: 1.201 MB / 1.297 GB, free: 37.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.8546, allocations: 2.656 kB / 1.297 GB, free: 37.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.8546, allocations: 3.938 kB / 1.297 GB, free: 37.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.8547, allocations: 14 kB / 1.297 GB, free: 37.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.8552, allocations: 214.7 kB / 1.297 GB, free: 37.26 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.8554, allocations: 183 kB / 1.297 GB, free: 37.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.823e-05/0.8555, allocations: 6.875 kB / 1.297 GB, free: 37.17 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.588e-05/0.8556, allocations: 68.91 kB / 1.297 GB, free: 37.15 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.8557, allocations: 60.86 kB / 1.297 GB, free: 37.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.8557, allocations: 14.78 kB / 1.297 GB, free: 37.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.38e-05/0.8558, allocations: 32.88 kB / 1.297 GB, free: 37.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.8558, allocations: 12.81 kB / 1.297 GB, free: 37.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.04e-05/0.8559, allocations: 51.19 kB / 1.297 GB, free: 37.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.8561, allocations: 155 kB / 1.297 GB, free: 37.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.8561, allocations: 0 / 1.297 GB, free: 37.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8561, allocations: 7.938 kB / 1.297 GB, free: 37.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.8561, allocations: 3.938 kB / 1.297 GB, free: 37.03 MB / 1.061 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.0004407/0.8565, allocations: 434.5 kB / 1.298 GB, free: 36.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.8566, allocations: 8.656 kB / 1.298 GB, free: 36.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.8566, allocations: 12.14 kB / 1.298 GB, free: 36.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.21e-05/0.8567, allocations: 171.2 kB / 1.298 GB, free: 36.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.8567, allocations: 3.219 kB / 1.298 GB, free: 36.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.8568, allocations: 13 kB / 1.298 GB, free: 36.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.8569, allocations: 49.05 kB / 1.298 GB, free: 36.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.8569, allocations: 4.188 kB / 1.298 GB, free: 36.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.8569, allocations: 3.938 kB / 1.298 GB, free: 36.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.8569, allocations: 0 / 1.298 GB, free: 36.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.723e-05/0.8569, allocations: 20.06 kB / 1.298 GB, free: 36.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.8573, allocations: 346.5 kB / 1.298 GB, free: 36.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/0.8574, allocations: 34.77 kB / 1.299 GB, free: 36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.8574, allocations: 17.81 kB / 1.299 GB, free: 35.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.8574, allocations: 4 kB / 1.299 GB, free: 35.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.8576, allocations: 85.09 kB / 1.299 GB, free: 35.92 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.8576, allocations: 0 / 1.299 GB, free: 35.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002078/0.8578, allocations: 98.56 kB / 1.299 GB, free: 35.87 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.8578, allocations: 54.03 kB / 1.299 GB, free: 35.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.8579, allocations: 118.5 kB / 1.299 GB, free: 35.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.8579, allocations: 32.36 kB / 1.299 GB, free: 35.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.8579, allocations: 89.55 kB / 1.299 GB, free: 35.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.8579, allocations: 21.95 kB / 1.299 GB, free: 35.56 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.858, allocations: 55.41 kB / 1.299 GB, free: 35.53 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.8581, allocations: 325.2 kB / 1.299 GB, free: 35.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.8582, allocations: 59.08 kB / 1.299 GB, free: 35.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.8583, allocations: 93.31 kB / 1.3 GB, free: 35.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.8584, allocations: 156 kB / 1.3 GB, free: 34.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8585, allocations: 0 / 1.3 GB, free: 34.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003719/0.8588, allocations: 266.7 kB / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.8589, allocations: 72.02 kB / 1.3 GB, free: 34.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8589, allocations: 0 / 1.3 GB, free: 34.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.8589, allocations: 6.625 kB / 1.3 GB, free: 34.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.981e-05/0.8589, allocations: 6.172 kB / 1.3 GB, free: 34.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8589, allocations: 3.938 kB / 1.3 GB, free: 34.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.8592, allocations: 62.03 kB / 1.3 GB, free: 34.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.8592, allocations: 11.88 kB / 1.3 GB, free: 34.75 MB / 1.061 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 7.211e-05/0.8593, allocations: 126.8 kB / 1.3 GB, free: 34.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.8593, allocations: 2.469 kB / 1.3 GB, free: 34.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.8593, allocations: 10.84 kB / 1.3 GB, free: 34.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8593, allocations: 0 / 1.3 GB, free: 34.62 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.8593, allocations: 0 / 1.3 GB, free: 34.62 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8593, allocations: 3.328 kB / 1.3 GB, free: 34.62 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.199e-05/0.8594, allocations: 178.6 kB / 1.3 GB, free: 34.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8594, allocations: 3.062 kB / 1.3 GB, free: 34.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-06/0.8594, allocations: 0 / 1.3 GB, free: 34.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.8594, allocations: 4 kB / 1.3 GB, free: 34.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.8594, allocations: 7.094 kB / 1.3 GB, free: 34.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8594, allocations: 96 / 1.3 GB, free: 34.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8594, allocations: 7.875 kB / 1.3 GB, free: 34.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.8596, allocations: 105.8 kB / 1.301 GB, free: 34.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.8596, allocations: 87.38 kB / 1.301 GB, free: 34.22 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.8596, allocations: 4 kB / 1.301 GB, free: 34.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.885e-05/0.8596, allocations: 3.062 kB / 1.301 GB, free: 34.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.8597, allocations: 10.22 kB / 1.301 GB, free: 34.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.8597, allocations: 0 / 1.301 GB, free: 34.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.8597, allocations: 91.36 kB / 1.301 GB, free: 34.13 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8597, allocations: 0 / 1.301 GB, free: 34.13 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002216/0.8599, allocations: 30.47 kB / 1.301 GB, free: 34.13 MB / 1.061 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.0001319/0.86, allocations: 107.8 kB / 1.301 GB, free: 34.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.8603, allocations: 215.9 kB / 1.301 GB, free: 33.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8603, allocations: 8 kB / 1.301 GB, free: 33.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/0.8604, allocations: 25.81 kB / 1.301 GB, free: 33.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.8606, allocations: 16.7 kB / 1.301 GB, free: 33.86 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.8609, allocations: 197.2 kB / 1.301 GB, free: 33.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.861, allocations: 0.6846 MB / 1.302 GB, free: 32.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.861, allocations: 24.56 kB / 1.302 GB, free: 32.97 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.861, allocations: 0 / 1.302 GB, free: 32.97 MB / 1.061 GB Notification: Performance of Templates: time 0.002641/0.8636, allocations: 1.391 MB / 1.303 GB, free: 32.83 MB / 1.061 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/jenkins1/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