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.009537/0.009537, allocations: 102 kB / 15.73 MB, free: 6 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.001925/0.001925, allocations: 193.9 kB / 16.68 MB, free: 5.922 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.46/1.46, allocations: 222.9 MB / 240.3 MB, free: 15.09 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.422/2.422, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 0.9509 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002149/1.006, allocations: 0.6586 MB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001907/1.008, allocations: 1.187 MB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/1.008, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/1.008, allocations: 4.938 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.374e-05/1.008, allocations: 18.52 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007818/1.009, allocations: 221.2 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003093/1.009, allocations: 174.8 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/1.01, allocations: 10.23 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/1.01, allocations: 75.72 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/1.01, allocations: 64.91 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.334e-05/1.01, allocations: 14.75 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/1.01, allocations: 33.23 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/1.01, allocations: 10.03 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/1.01, allocations: 60.84 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/1.011, allocations: 143.6 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/1.011, allocations: 4 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/1.011, allocations: 0 / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.667e-06/1.011, allocations: 0.7031 kB / 1.091 GB, free: 3.891 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.000575/1.011, allocations: 435.3 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/1.011, allocations: 9.656 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/1.011, allocations: 11.5 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/1.011, allocations: 172.8 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/1.011, allocations: 5.953 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/1.011, allocations: 9.703 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/1.012, allocations: 53.97 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/1.012, allocations: 192 / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/1.012, allocations: 5.734 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.012, allocations: 0 / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.776e-05/1.012, allocations: 17.19 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/1.012, allocations: 346.8 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.291e-05/1.012, allocations: 42.48 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/1.012, allocations: 16.39 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/1.012, allocations: 4.938 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/1.013, allocations: 85.95 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/1.013, allocations: 0 / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002884/1.013, allocations: 107.2 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/1.013, allocations: 54.05 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/1.013, allocations: 116.7 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/1.013, allocations: 29.45 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/1.013, allocations: 94.56 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/1.013, allocations: 11.62 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/1.013, allocations: 52.41 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/1.013, allocations: 323.8 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/1.014, allocations: 59.66 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/1.014, allocations: 96.19 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/1.014, allocations: 162.5 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.014, allocations: 1.031 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004395/1.014, allocations: 261.8 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.503e-05/1.014, allocations: 68.83 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/1.014, allocations: 1.406 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/1.014, allocations: 1.625 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.339e-05/1.014, allocations: 6.891 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/1.014, allocations: 3.219 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/1.015, allocations: 55.19 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/1.015, allocations: 20.61 kB / 1.093 GB, free: 1.609 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.946e-05/1.015, allocations: 126.8 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/1.015, allocations: 7.109 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/1.015, allocations: 6.703 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/1.015, allocations: 1.578 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.015, allocations: 0.7188 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.015, allocations: 0.7969 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/1.015, allocations: 182.9 kB / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.015, allocations: 0 / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-06/1.015, allocations: 2.625 kB / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.015, allocations: 0 / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/1.015, allocations: 2.891 kB / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.015, allocations: 4.703 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.015, allocations: 3.938 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/1.015, allocations: 111.6 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/1.016, allocations: 87.91 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/1.016, allocations: 2.203 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/1.016, allocations: 5.234 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/1.016, allocations: 9.031 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/1.016, allocations: 7.203 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.59e-05/1.016, allocations: 94.34 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/1.016, allocations: 0 / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002491/1.016, allocations: 27.98 kB / 1.094 GB, free: 0.9805 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.0001554/1.016, allocations: 105.5 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003495/1.016, allocations: 244.2 kB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.016, allocations: 0 / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.555e-05/1.017, allocations: 30.92 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/1.017, allocations: 21.2 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/1.017, allocations: 159.7 kB / 1.094 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/1.017, allocations: 0.6858 MB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.044e-05/1.017, allocations: 5.594 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.36e-05/1.017, allocations: 14.66 kB / 1.095 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/1.017, allocations: 4 kB / 1.095 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.005993/1.023, allocations: 1.895 MB / 1.097 GB, free: 15.65 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