Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001195/0.001195, allocations: 103.8 kB / 16.27 MB, free: 6.039 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.00125/0.00125, allocations: 187.8 kB / 17.19 MB, free: 5.676 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.515/1.515, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.716/2.716, allocations: 469.4 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3246, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00223/0.3269, allocations: 0.6587 MB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.3286, allocations: 1.186 MB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.3287, allocations: 4 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.83e-05/0.3288, allocations: 3.938 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.3289, allocations: 7.922 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007425/0.3297, allocations: 222.2 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.3299, allocations: 179.8 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3301, allocations: 7.984 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.3302, allocations: 75.81 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3304, allocations: 43.88 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.873e-05/0.3304, allocations: 20 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3305, allocations: 27.98 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.3306, allocations: 15.92 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.3307, allocations: 55.89 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3309, allocations: 147.6 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3309, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3309, allocations: 4 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3309, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 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.0006075/0.3316, allocations: 435 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3316, allocations: 8.625 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.3317, allocations: 16.84 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.3318, allocations: 164.4 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.3318, allocations: 8.359 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.3319, allocations: 12.38 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.332, allocations: 50.19 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.332, allocations: 192 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.332, allocations: 3.938 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.332, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.3321, allocations: 15.98 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.3326, allocations: 360.7 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.623e-05/0.3327, allocations: 34.45 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.3327, allocations: 20.94 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.3328, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.3329, allocations: 87.36 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.333, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0002576/0.3332, allocations: 105.5 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3333, allocations: 55.41 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.3334, allocations: 117.8 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.3334, allocations: 33.7 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.3335, allocations: 92.05 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3335, allocations: 11.89 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.459e-05/0.3336, allocations: 49.69 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3338, allocations: 326.8 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3339, allocations: 59.97 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3341, allocations: 92.19 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.3343, allocations: 171.5 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3343, allocations: 0 / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004232/0.3347, allocations: 252.8 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/0.3348, allocations: 67.39 kB / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3348, allocations: 4 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3348, allocations: 480 / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.492e-05/0.3348, allocations: 7.984 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3349, allocations: 4.125 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.3353, allocations: 59.78 kB / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.3353, allocations: 11.98 kB / 1.069 GB, free: 9.371 MB / 0.8419 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.0001205/0.3354, allocations: 130.2 kB / 1.07 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.3354, allocations: 3.938 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.3355, allocations: 16.38 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3355, allocations: 3.984 kB / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3355, allocations: 0 / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3355, allocations: 0 / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.3357, allocations: 173.6 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3357, allocations: 0 / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/0.3357, allocations: 0 / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3357, allocations: 4 kB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3357, allocations: 7.984 kB / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3357, allocations: 0 / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3357, allocations: 0 / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.3359, allocations: 116.9 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.3359, allocations: 81.02 kB / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3359, allocations: 8 kB / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.336, allocations: 0 / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.336, allocations: 15.91 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.336, allocations: 4.062 kB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.3361, allocations: 91.27 kB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3361, allocations: 4 kB / 1.07 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002555/0.3364, allocations: 32 kB / 1.07 GB, free: 8.598 MB / 0.8419 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.0001755/0.3365, allocations: 99.25 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003527/0.3369, allocations: 246.6 kB / 1.07 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3369, allocations: 3.938 kB / 1.07 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/0.337, allocations: 35.92 kB / 1.07 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.3372, allocations: 25 kB / 1.07 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.3376, allocations: 176.4 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.3379, allocations: 0.6885 MB / 1.071 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.3379, allocations: 15.44 kB / 1.071 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.3379, allocations: 4 kB / 1.071 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of Templates: time 0.00342/0.3414, allocations: 1.38 MB / 1.073 GB, free: 5.863 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches