Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007263/0.007263, allocations: 99.73 kB / 15.73 MB, free: 6.055 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.001393/0.001393, allocations: 194.7 kB / 16.67 MB, free: 5.977 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.543/2.543, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 72.05 kB / 0.9509 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.374, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002208/0.3762, allocations: 0.703 MB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.3782, allocations: 1.259 MB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.116e-05/0.3783, allocations: 7.938 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/0.3784, allocations: 11.88 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.3785, allocations: 23.8 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.3795, allocations: 315.4 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.3799, allocations: 267.7 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3801, allocations: 20.11 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.3803, allocations: 99.86 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.3805, allocations: 95.73 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.3806, allocations: 24 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3807, allocations: 35.98 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.3807, allocations: 15.92 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3809, allocations: 83.8 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.3812, allocations: 223.3 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3813, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.175e-06/0.3813, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.3813, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008819/0.3822, allocations: 492.3 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3822, allocations: 12.03 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.919e-05/0.3823, allocations: 12.89 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.3825, allocations: 184.2 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.3825, allocations: 12.38 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.3826, allocations: 12.38 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.3827, allocations: 54.23 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3828, allocations: 7.938 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3828, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3828, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.881e-05/0.3829, allocations: 23.98 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/0.3835, allocations: 424.4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.467e-05/0.3836, allocations: 26.58 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.3837, allocations: 20.94 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.3837, allocations: 4 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/0.384, allocations: 111.3 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.512e-06/0.384, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003315/0.3843, allocations: 137.5 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.3844, allocations: 55.41 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.3845, allocations: 129.8 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.3845, allocations: 37.7 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3846, allocations: 104.1 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.3847, allocations: 11.91 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3848, allocations: 73.67 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3849, allocations: 322.8 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.3851, allocations: 87.95 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3854, allocations: 134 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.3857, allocations: 242.4 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3857, allocations: 7.938 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006417/0.3863, allocations: 378.5 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/0.3864, allocations: 97.09 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3865, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3865, allocations: 4 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-05/0.3865, allocations: 15.92 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3865, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.387, allocations: 79.94 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.3871, allocations: 23.98 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001479/0.3873, allocations: 130.7 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.3873, allocations: 11.91 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.3873, allocations: 12.36 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.3873, allocations: 0 / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3874, allocations: 4 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3874, allocations: 8 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.3876, allocations: 189.6 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3876, allocations: 3.984 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.125e-05/0.3876, allocations: 0 / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3876, allocations: 0 / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3876, allocations: 4 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3876, allocations: 384 / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3876, allocations: 0 / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.3878, allocations: 144.9 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.3879, allocations: 85.06 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3879, allocations: 8 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.502e-05/0.388, allocations: 0 / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.388, allocations: 7.984 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.388, allocations: 8 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.836e-05/0.3881, allocations: 101.7 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3881, allocations: 0 / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002942/0.3884, allocations: 47.98 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002342/0.3887, allocations: 111.7 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005605/0.3892, allocations: 366 kB / 1.095 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3892, allocations: 0 / 1.095 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.3893, allocations: 39.92 kB / 1.095 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.3896, allocations: 25.86 kB / 1.095 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.3901, allocations: 182.9 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.3905, allocations: 0.6924 MB / 1.096 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.406e-05/0.3906, allocations: 12.41 kB / 1.096 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.3906, allocations: 11.72 kB / 1.096 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/0.3906, allocations: 0 / 1.096 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of Templates: time 0.006174/0.3968, allocations: 2.635 MB / 1.099 GB, free: 5.695 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches