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.001006/0.001005, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 183.3 kB / 16.92 MB, free: 6.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.439/1.439, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.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.6/2.6, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.000383, allocations: 12 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.73/0.7304, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0009045/0.7314, allocations: 436.9 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.7329, allocations: 1.284 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.733, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.733, allocations: 3.938 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.75e-05/0.7331, allocations: 27.78 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.7339, allocations: 283.2 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.7341, allocations: 227.5 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.7342, allocations: 24.16 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.7343, allocations: 83.88 kB / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.7345, allocations: 71.77 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.7345, allocations: 12 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.461e-05/0.7346, allocations: 27.92 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.7346, allocations: 11.92 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.7347, allocations: 101.5 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.7349, allocations: 153.6 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.735, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.246e-06/0.735, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.735, allocations: 7.938 kB / 1.026 GB, free: 13.12 MB / 0.7794 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.0005705/0.7355, allocations: 454.1 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.7356, allocations: 12.02 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.7357, allocations: 16.84 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.7359, allocations: 172.2 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.7359, allocations: 12.38 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.7359, allocations: 16.38 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.7361, allocations: 62.2 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7361, allocations: 3.938 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.7361, allocations: 8 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.7361, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.079e-05/0.7362, allocations: 19.94 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000613/0.7368, allocations: 416.5 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.7369, allocations: 30.56 kB / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.737, allocations: 20.86 kB / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.737, allocations: 11.94 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.7371, allocations: 91.44 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.7371, allocations: 0 / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0002909/0.7374, allocations: 141.7 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.7375, allocations: 55.41 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.7376, allocations: 140.1 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.7377, allocations: 37.7 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.7377, allocations: 96.12 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.7378, allocations: 23.78 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.7378, allocations: 29.7 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.738, allocations: 326.8 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.7381, allocations: 87.89 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.7384, allocations: 138 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.7386, allocations: 227 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7386, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000688/0.7393, allocations: 379.5 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/0.7394, allocations: 93.09 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7394, allocations: 7.984 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.7395, allocations: 3.984 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.421e-05/0.7395, allocations: 11.94 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.7395, allocations: 4 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006091/0.7401, allocations: 119.9 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.7402, allocations: 19.98 kB / 1.03 GB, free: 9.566 MB / 0.7794 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.0001312/0.7403, allocations: 129.7 kB / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.7403, allocations: 7.906 kB / 1.03 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.7404, allocations: 12.38 kB / 1.03 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.7404, allocations: 4 kB / 1.03 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7404, allocations: 0 / 1.03 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7404, allocations: 3.984 kB / 1.03 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.7405, allocations: 193.6 kB / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7405, allocations: 0 / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.7406, allocations: 4 kB / 1.03 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.7406, allocations: 0 / 1.03 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.7406, allocations: 3.984 kB / 1.03 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.7406, allocations: 4 kB / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7406, allocations: 0 / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.7408, allocations: 136.9 kB / 1.03 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.7408, allocations: 85.2 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.7409, allocations: 7.984 kB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.7409, allocations: 7.938 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.7409, allocations: 15.92 kB / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.741, allocations: 4 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.723e-05/0.741, allocations: 97.23 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.741, allocations: 0 / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002616/0.7413, allocations: 48 kB / 1.03 GB, free: 8.723 MB / 0.7794 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.0001648/0.7415, allocations: 107.2 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005385/0.742, allocations: 373.9 kB / 1.031 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.742, allocations: 0 / 1.031 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.7421, allocations: 35.98 kB / 1.031 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.7424, allocations: 24.36 kB / 1.031 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.7428, allocations: 237.1 kB / 1.031 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.7431, allocations: 0.7043 MB / 1.032 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.7431, allocations: 11.44 kB / 1.032 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7431, allocations: 0 / 1.032 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of Templates: time 0.003543/0.7467, allocations: 1.855 MB / 1.033 GB, free: 5.305 MB / 0.7794 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 -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