Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_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_10_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.01114/0.01114, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001932/0.001932, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 60.12 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.173, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002063/1.175, allocations: 0.6582 MB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001609/1.177, allocations: 1.189 MB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/1.177, allocations: 0 / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/1.177, allocations: 3.938 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.803e-05/1.177, allocations: 19.92 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007106/1.178, allocations: 214.7 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/1.178, allocations: 187.6 kB / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/1.178, allocations: 11.98 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/1.178, allocations: 63.91 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/1.178, allocations: 67.83 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/1.178, allocations: 16 kB / 1.169 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.043e-05/1.178, allocations: 31.98 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/1.179, allocations: 4 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.654e-05/1.179, allocations: 59.81 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/1.179, allocations: 152.1 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.179, allocations: 4 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.084e-06/1.179, allocations: 3.938 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.61e-06/1.179, allocations: 0 / 1.169 GB, free: 1.133 MB / 0.8887 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.0005744/1.179, allocations: 442.7 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/1.18, allocations: 8.922 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/1.18, allocations: 12.89 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/1.18, allocations: 172.3 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/1.18, allocations: 8.359 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/1.18, allocations: 8.375 kB / 1.17 GB, free: 404 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/1.18, allocations: 50.25 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.18, allocations: 192 / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/1.18, allocations: 3.938 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.18, allocations: 0 / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/1.18, allocations: 23.98 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/1.181, allocations: 348.7 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.324e-05/1.181, allocations: 38.52 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/1.181, allocations: 16.94 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/1.181, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/1.181, allocations: 83.38 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/1.181, allocations: 3.938 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003102/1.182, allocations: 105.6 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/1.182, allocations: 55.41 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/1.182, allocations: 117.8 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/1.182, allocations: 29.7 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/1.182, allocations: 92.09 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/1.182, allocations: 15.91 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/1.182, allocations: 49.69 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.182, allocations: 326.8 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/1.183, allocations: 55.97 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/1.183, allocations: 96.56 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/1.183, allocations: 163.6 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.183, allocations: 3.938 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004888/1.184, allocations: 256.9 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.283e-05/1.184, allocations: 67.39 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.184, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/1.184, allocations: 4 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.26e-05/1.184, allocations: 12.11 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/1.184, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/1.185, allocations: 55.83 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/1.185, allocations: 15.98 kB / 1.172 GB, free: 14.14 MB / 0.9044 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.0001606/1.185, allocations: 125.7 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/1.185, allocations: 11.94 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/1.185, allocations: 8.375 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.185, allocations: 4 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.185, allocations: 0 / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.185, allocations: 0 / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/1.185, allocations: 185.6 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.185, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/1.185, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/1.185, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/1.185, allocations: 4 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.185, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.185, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/1.185, allocations: 120.9 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/1.185, allocations: 77.11 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/1.186, allocations: 8.047 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.142e-05/1.186, allocations: 4 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/1.186, allocations: 4 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/1.186, allocations: 7.984 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.446e-05/1.186, allocations: 91.22 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.51e-07/1.186, allocations: 4 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003894/1.186, allocations: 28 kB / 1.173 GB, free: 13.37 MB / 0.9044 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.0002478/1.186, allocations: 111.2 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006145/1.187, allocations: 246.6 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/1.187, allocations: 0 / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/1.187, allocations: 31.92 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/1.188, allocations: 24.17 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/1.188, allocations: 150.6 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/1.188, allocations: 0.6846 MB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.952e-05/1.188, allocations: 4 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/1.188, allocations: 15.42 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of SimCode: time 3.2e-07/1.189, allocations: 4 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.007117/1.196, allocations: 1.847 MB / 1.176 GB, free: 10.21 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches