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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009889/0.009889, allocations: 102.9 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 188.4 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.757/2.757, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.88 kB / 1.054 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002288/1.123, allocations: 0.6599 MB / 1.208 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001594/1.125, allocations: 1.186 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/1.125, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/1.125, allocations: 11.92 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.353e-05/1.125, allocations: 7.875 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/1.126, allocations: 212.9 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/1.126, allocations: 195.6 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/1.126, allocations: 8 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/1.126, allocations: 67.89 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/1.126, allocations: 63.84 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/1.126, allocations: 12 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/1.126, allocations: 31.98 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/1.126, allocations: 11.97 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.428e-05/1.127, allocations: 51.84 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/1.127, allocations: 155.6 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/1.127, allocations: 0 / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.61e-06/1.127, allocations: 3.938 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.127, allocations: 3.938 kB / 1.21 GB, free: 10.98 MB / 0.9356 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.0006268/1.127, allocations: 436.5 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.127, allocations: 8.031 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/1.128, allocations: 12.84 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/1.128, allocations: 168.3 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/1.128, allocations: 8.375 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/1.128, allocations: 8.375 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/1.128, allocations: 50.23 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/1.128, allocations: 192 / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/1.128, allocations: 3.938 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/1.128, allocations: 8 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/1.128, allocations: 11.94 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/1.129, allocations: 352.7 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/1.129, allocations: 34.5 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/1.129, allocations: 16.86 kB / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/1.129, allocations: 0 / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/1.129, allocations: 87.39 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/1.129, allocations: 0 / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000301/1.129, allocations: 109.5 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/1.129, allocations: 51.41 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/1.129, allocations: 117.8 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/1.13, allocations: 33.7 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/1.13, allocations: 100 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/1.13, allocations: 7.906 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/1.13, allocations: 49.69 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.13, allocations: 318.8 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/1.13, allocations: 63.95 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/1.13, allocations: 91.77 kB / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/1.13, allocations: 167.6 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.13, allocations: 0 / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004151/1.131, allocations: 260.8 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/1.131, allocations: 71.39 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.131, allocations: 128 / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/1.131, allocations: 8 kB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.926e-05/1.131, allocations: 7.875 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/1.131, allocations: 4 kB / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/1.131, allocations: 55.78 kB / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/1.131, allocations: 15.98 kB / 1.213 GB, free: 7.996 MB / 0.9356 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.0001246/1.132, allocations: 125.8 kB / 1.213 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/1.132, allocations: 4.062 kB / 1.213 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/1.132, allocations: 16.36 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.132, allocations: 0 / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/1.132, allocations: 0 / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/1.132, allocations: 3.984 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/1.132, allocations: 177.5 kB / 1.213 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.132, allocations: 0 / 1.213 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.135e-05/1.132, allocations: 7.938 kB / 1.213 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.132, allocations: 3.984 kB / 1.213 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/1.132, allocations: 0 / 1.213 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.132, allocations: 4 kB / 1.213 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.132, allocations: 0 / 1.213 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/1.132, allocations: 109 kB / 1.213 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/1.132, allocations: 85.02 kB / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/1.132, allocations: 0 / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/1.132, allocations: 4 kB / 1.213 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/1.132, allocations: 7.984 kB / 1.213 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/1.132, allocations: 4 kB / 1.213 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.841e-05/1.132, allocations: 95.2 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.132, allocations: 4 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002388/1.132, allocations: 28 kB / 1.214 GB, free: 7.23 MB / 0.9356 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.0001914/1.133, allocations: 111.2 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003836/1.133, allocations: 250.6 kB / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.133, allocations: 0 / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.288e-05/1.133, allocations: 28.23 kB / 1.214 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/1.133, allocations: 15.98 kB / 1.214 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/1.134, allocations: 158.7 kB / 1.214 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/1.134, allocations: 0.6885 MB / 1.215 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.984e-05/1.134, allocations: 4 kB / 1.215 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/1.134, allocations: 23.31 kB / 1.215 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/1.134, allocations: 0 / 1.215 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of Templates: time 0.00556/1.14, allocations: 1.892 MB / 1.217 GB, free: 4.008 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) 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) Reference file matches