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.001492/0.001492, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001657/0.001657, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.07 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.303/2.303, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8261/0.8275, allocations: 140.4 MB / 1.089 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001791/0.8293, allocations: 0.6653 MB / 1.089 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.8307, allocations: 1.191 MB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.8307, allocations: 1.25 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.8308, allocations: 3.938 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.8309, allocations: 11.2 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000675/0.8315, allocations: 216.3 kB / 1.091 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.8318, allocations: 185.6 kB / 1.091 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.8319, allocations: 6.875 kB / 1.091 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.832, allocations: 75.12 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.8322, allocations: 58.09 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.8322, allocations: 15.12 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.4e-05/0.8323, allocations: 33.5 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.8324, allocations: 12.42 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.8325, allocations: 54.06 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.8327, allocations: 151 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8327, allocations: 0 / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8327, allocations: 1.094 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.8327, allocations: 3.938 kB / 1.091 GB, free: 4.121 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.0004607/0.8332, allocations: 433.8 kB / 1.092 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.8332, allocations: 9.25 kB / 1.092 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.8333, allocations: 12.39 kB / 1.092 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.77e-05/0.8334, allocations: 167.9 kB / 1.092 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.8334, allocations: 5.75 kB / 1.092 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.8335, allocations: 13.72 kB / 1.092 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.8336, allocations: 45.41 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8336, allocations: 4.688 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.8336, allocations: 5.125 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.8336, allocations: 1.641 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.8337, allocations: 20.95 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.8341, allocations: 350.4 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.752e-05/0.8342, allocations: 35.16 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.8343, allocations: 16.05 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.8343, allocations: 0.75 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.8345, allocations: 93.61 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.8345, allocations: 0 / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002557/0.8347, allocations: 103.8 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.8348, allocations: 53.36 kB / 1.093 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.8349, allocations: 116.7 kB / 1.093 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.8349, allocations: 33.55 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.835, allocations: 94.8 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.835, allocations: 10.91 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.8351, allocations: 56.47 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.8352, allocations: 324 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.8353, allocations: 63.38 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.8355, allocations: 89.47 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.8357, allocations: 159.5 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8357, allocations: 0 / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004221/0.8361, allocations: 265.1 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.8362, allocations: 68.67 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8362, allocations: 1.344 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.8362, allocations: 2.562 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.523e-05/0.8362, allocations: 6.922 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.8362, allocations: 6.969 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.8366, allocations: 58.53 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.8367, allocations: 16.55 kB / 1.094 GB, free: 1.832 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 8.489e-05/0.8368, allocations: 123 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.8368, allocations: 7.984 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.8368, allocations: 9.688 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8368, allocations: 1.938 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8368, allocations: 0.7188 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.8369, allocations: 0.5625 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.837, allocations: 175.2 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.837, allocations: 0 / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.008e-05/0.837, allocations: 2.359 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.837, allocations: 0.7188 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.837, allocations: 2.078 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.837, allocations: 4.75 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.837, allocations: 5.344 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.8372, allocations: 118.2 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.8372, allocations: 84.25 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.8372, allocations: 1.828 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/0.8372, allocations: 5.609 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.8373, allocations: 5.594 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.8373, allocations: 3.234 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.8373, allocations: 94.17 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8374, allocations: 0 / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002506/0.8376, allocations: 35.17 kB / 1.095 GB, free: 1.207 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.0001557/0.8378, allocations: 106 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.8381, allocations: 248.5 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8381, allocations: 3.938 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.764e-05/0.8382, allocations: 24.31 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.8384, allocations: 28.16 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.8388, allocations: 185.6 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.8389, allocations: 0.686 MB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.8389, allocations: 11.95 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.8389, allocations: 0.75 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of Templates: time 0.003777/0.8427, allocations: 1.384 MB / 1.097 GB, free: 15.9 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/jenkins1/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