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.00733/0.00733, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001688/0.001688, allocations: 195.4 kB / 16.67 MB, free: 5.926 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.651/2.651, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 61.52 kB / 0.9509 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3314, allocations: 140.4 MB / 1.088 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002009/0.3334, allocations: 0.6923 MB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3352, allocations: 1.27 MB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.3353, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.3354, allocations: 3.938 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.747e-05/0.3355, allocations: 19.84 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000923/0.3364, allocations: 301.3 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000365/0.3368, allocations: 283.5 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.337, allocations: 16.19 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.3371, allocations: 103.8 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.3373, allocations: 91.73 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.3374, allocations: 24 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3375, allocations: 35.98 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.3376, allocations: 15.92 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.3377, allocations: 79.81 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.338, allocations: 235.2 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.338, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/0.338, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.338, allocations: 0 / 1.091 GB, free: 14.41 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.0006038/0.3387, allocations: 0.4886 MB / 1.092 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3387, allocations: 12.03 kB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.3388, allocations: 12.84 kB / 1.092 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3389, allocations: 168.3 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.3389, allocations: 8.375 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.339, allocations: 20.36 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.3391, allocations: 54.22 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3391, allocations: 7.938 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3392, allocations: 4 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3392, allocations: 4 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.675e-05/0.3392, allocations: 23.92 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.3398, allocations: 412.5 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/0.3399, allocations: 30.56 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.3399, allocations: 20.86 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.3399, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.3401, allocations: 111.2 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.3401, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002927/0.3404, allocations: 137.5 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.3405, allocations: 55.41 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3406, allocations: 131.8 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.3406, allocations: 37.7 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.3407, allocations: 100 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.3408, allocations: 23.81 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3409, allocations: 73.66 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.341, allocations: 318.8 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.3412, allocations: 91.94 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.3414, allocations: 137.9 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.3417, allocations: 231 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.3417, allocations: 4 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005962/0.3423, allocations: 378.4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.108e-05/0.3424, allocations: 105 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3424, allocations: 0 / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3424, allocations: 4 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.295e-05/0.3425, allocations: 4 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3425, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.3429, allocations: 80 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.343, allocations: 27.97 kB / 1.094 GB, free: 10.81 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.0001234/0.3431, allocations: 135.1 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.3431, allocations: 7.906 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.3432, allocations: 8.375 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3432, allocations: 0 / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3432, allocations: 8 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3432, allocations: 3.984 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.3433, allocations: 193.9 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3434, allocations: 0 / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.055e-05/0.3434, allocations: 0 / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3434, allocations: 0 / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3434, allocations: 11.92 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3434, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3434, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.3436, allocations: 144.9 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.3436, allocations: 81.02 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3437, allocations: 7.984 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.3437, allocations: 0 / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.3437, allocations: 15.92 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3438, allocations: 4 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.627e-05/0.3438, allocations: 95.27 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3438, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002535/0.3441, allocations: 40 kB / 1.095 GB, free: 9.973 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.0001725/0.3443, allocations: 117.8 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.3448, allocations: 365.9 kB / 1.095 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3448, allocations: 0 / 1.095 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.69e-05/0.3448, allocations: 35.98 kB / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3451, allocations: 32.27 kB / 1.095 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.3456, allocations: 183.3 kB / 1.096 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.346, allocations: 0.7001 MB / 1.096 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.502e-05/0.3461, allocations: 8.438 kB / 1.096 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.3461, allocations: 15.42 kB / 1.096 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3461, allocations: 0 / 1.096 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of Templates: time 0.006347/0.3525, allocations: 2.626 MB / 1.099 GB, free: 5.836 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