Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001052/0.001052, allocations: 103.4 kB / 16.35 MB, free: 6.289 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.001086/0.001086, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.476/1.476, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3425, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001907/0.3445, allocations: 0.7173 MB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.346, allocations: 1.266 MB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.346, allocations: 0 / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.3461, allocations: 7.875 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.093e-05/0.3462, allocations: 19.84 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007709/0.347, allocations: 313.8 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.3473, allocations: 271.6 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3474, allocations: 16.17 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.3475, allocations: 103.8 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.3477, allocations: 95.72 kB / 1.022 GB, free: 7.035 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.3477, allocations: 28 kB / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.345e-05/0.3478, allocations: 35.98 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.3479, allocations: 11.94 kB / 1.022 GB, free: 6.961 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.348, allocations: 83.8 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.3482, allocations: 223.3 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3482, allocations: 0 / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3483, allocations: 0 / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3483, allocations: 0 / 1.022 GB, free: 6.66 MB / 0.795 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.0005453/0.3488, allocations: 496.3 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3489, allocations: 12.92 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.3489, allocations: 20.78 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.349, allocations: 172.3 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3491, allocations: 8.375 kB / 1.023 GB, free: 5.863 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.3491, allocations: 16.36 kB / 1.023 GB, free: 5.848 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.3492, allocations: 58.22 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3492, allocations: 3.938 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3493, allocations: 8 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3493, allocations: 0 / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.925e-05/0.3493, allocations: 23.97 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.3498, allocations: 420.4 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.032e-05/0.3499, allocations: 30.56 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.35, allocations: 16.86 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.35, allocations: 0 / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.3501, allocations: 111.3 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3502, allocations: 0 / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0002711/0.3504, allocations: 137.5 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.3505, allocations: 51.41 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3506, allocations: 137.8 kB / 1.024 GB, free: 4.762 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.3506, allocations: 37.7 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.3507, allocations: 96.11 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.3507, allocations: 15.81 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3508, allocations: 73.66 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.3509, allocations: 322.8 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.3511, allocations: 91.94 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.3513, allocations: 131.8 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.3516, allocations: 236.8 kB / 1.024 GB, free: 3.695 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3516, allocations: 0 / 1.024 GB, free: 3.695 MB / 0.795 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005177/0.3521, allocations: 378.5 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6e-05/0.3522, allocations: 105.5 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3522, allocations: 0 / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3522, allocations: 4 kB / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-05/0.3522, allocations: 7.938 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3522, allocations: 3.938 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/0.3527, allocations: 83.75 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.3527, allocations: 19.98 kB / 1.025 GB, free: 3.062 MB / 0.795 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.0001084/0.3528, allocations: 136.4 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.3528, allocations: 3.906 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.3529, allocations: 16.31 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3529, allocations: 3.984 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3529, allocations: 0 / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3529, allocations: 0 / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.3531, allocations: 209.5 kB / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3531, allocations: 0 / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/0.3531, allocations: 0 / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3531, allocations: 0 / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3531, allocations: 7.984 kB / 1.025 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3531, allocations: 0 / 1.025 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3531, allocations: 0 / 1.025 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.3533, allocations: 132.9 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.3533, allocations: 92.95 kB / 1.026 GB, free: 2.375 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.3533, allocations: 7.984 kB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.389e-05/0.3534, allocations: 4 kB / 1.026 GB, free: 2.363 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.3534, allocations: 11.98 kB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3534, allocations: 4 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.876e-05/0.3535, allocations: 97.09 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3535, allocations: 0 / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002423/0.3537, allocations: 40 kB / 1.026 GB, free: 2.215 MB / 0.795 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.0001634/0.3539, allocations: 119.2 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.3544, allocations: 362 kB / 1.026 GB, free: 1.699 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3544, allocations: 0 / 1.026 GB, free: 1.699 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/0.3544, allocations: 40.02 kB / 1.026 GB, free: 1.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.3547, allocations: 24.11 kB / 1.026 GB, free: 1.637 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.355, allocations: 199.3 kB / 1.026 GB, free: 1.41 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3553, allocations: 0.6924 MB / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.963e-05/0.3553, allocations: 8.438 kB / 1.027 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.3554, allocations: 15.42 kB / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3554, allocations: 0 / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of Templates: time 0.005068/0.3604, allocations: 2.625 MB / 1.03 GB, free: 14.07 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches