Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_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_9_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.009147/0.009147, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001681/0.001681, allocations: 199.1 kB / 16.68 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.475/1.475, 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 9.1.3-maint.9.1.x/package.mo): time 2.246/2.246, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.91 kB / 0.9509 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.041, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001957/1.043, allocations: 0.6597 MB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00178/1.045, allocations: 1.191 MB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/1.045, allocations: 1.281 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.521e-05/1.045, allocations: 4.453 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.061e-05/1.045, allocations: 15.14 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007487/1.046, allocations: 216.4 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003094/1.046, allocations: 183.4 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/1.046, allocations: 10.22 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/1.047, allocations: 68.31 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/1.047, allocations: 61.25 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/1.047, allocations: 14.97 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.572e-05/1.047, allocations: 38.14 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/1.047, allocations: 13.17 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/1.047, allocations: 51.3 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/1.047, allocations: 151.4 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.047, allocations: 1.062 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/1.047, allocations: 0 / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.047, allocations: 0 / 1.091 GB, free: 3.863 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005413/1.048, allocations: 429.2 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.048, allocations: 10.39 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/1.048, allocations: 12.19 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.846e-05/1.048, allocations: 172.5 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/1.048, allocations: 6.359 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/1.048, allocations: 12.56 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/1.048, allocations: 53.91 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.048, allocations: 0.9062 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/1.048, allocations: 4.688 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.048, allocations: 1.953 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/1.048, allocations: 12.78 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/1.049, allocations: 363.1 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.88e-05/1.049, allocations: 41.92 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/1.049, allocations: 20.28 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/1.049, allocations: 0.7188 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/1.049, allocations: 78.25 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/1.049, allocations: 0 / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002671/1.05, allocations: 107.8 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/1.05, allocations: 53.31 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/1.05, allocations: 115.9 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/1.05, allocations: 34.5 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/1.05, allocations: 97.33 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/1.05, allocations: 8.547 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-05/1.05, allocations: 48.19 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.673e-05/1.05, allocations: 323.5 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/1.05, allocations: 63.94 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/1.05, allocations: 92.61 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/1.051, allocations: 162.6 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.051, allocations: 0.5156 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004413/1.051, allocations: 262.3 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/1.051, allocations: 68.27 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.051, allocations: 2.078 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.051, allocations: 1.5 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.523e-05/1.051, allocations: 7.203 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.051, allocations: 1.594 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/1.051, allocations: 64.39 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/1.052, allocations: 12.23 kB / 1.093 GB, free: 1.578 MB / 0.8575 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 9.111e-05/1.052, allocations: 125.8 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/1.052, allocations: 3.531 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/1.052, allocations: 14.5 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.052, allocations: 4.75 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.052, allocations: 1.297 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.052, allocations: 0.6562 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/1.052, allocations: 174.6 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.052, allocations: 0.8438 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-06/1.052, allocations: 1.828 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.052, allocations: 1.219 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/1.052, allocations: 6.031 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.052, allocations: 4.75 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.052, allocations: 0 / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/1.052, allocations: 120.1 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/1.052, allocations: 83.41 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/1.052, allocations: 2.266 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/1.052, allocations: 5.25 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/1.052, allocations: 8.703 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/1.052, allocations: 4.016 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.755e-05/1.052, allocations: 89.89 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.052, allocations: 0 / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002592/1.053, allocations: 35.41 kB / 1.094 GB, free: 0.9492 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: 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.000171/1.053, allocations: 101.4 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003661/1.053, allocations: 248.7 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.053, allocations: 0 / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.219e-05/1.053, allocations: 23.72 kB / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/1.053, allocations: 19.94 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/1.054, allocations: 172.3 kB / 1.094 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/1.054, allocations: 0.6855 MB / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.923e-05/1.054, allocations: 5.203 kB / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/1.054, allocations: 11.03 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/1.054, allocations: 0.625 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.005862/1.06, allocations: 1.845 MB / 1.097 GB, free: 15.64 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches