Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_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_10_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.001255/0.001255, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001812/0.001812, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 223.3 MB / 240 MB, free: 5.418 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.783/2.783, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003916, allocations: 11.94 kB / 0.8722 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8778/0.8783, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0009947/0.8793, allocations: 385 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.8808, allocations: 1.175 MB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.8809, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.8809, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.68e-05/0.881, allocations: 7.922 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.8816, allocations: 195.2 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.8818, allocations: 139.7 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.8819, allocations: 12 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.367e-05/0.882, allocations: 59.88 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.8822, allocations: 43.88 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.8822, allocations: 8 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.903e-05/0.8823, allocations: 19.98 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.8823, allocations: 7.984 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.8824, allocations: 41.64 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.8826, allocations: 99.77 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.8826, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8826, allocations: 4 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.8826, allocations: 0 / 1.025 GB, free: 13.83 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005188/0.8831, allocations: 416.5 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.8832, allocations: 12.03 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.8833, allocations: 4 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.8834, allocations: 171 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.8834, allocations: 8 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.8835, allocations: 8 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.8836, allocations: 53.58 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.8836, allocations: 4 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.8836, allocations: 3.938 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.8836, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.8837, allocations: 19.98 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.8843, allocations: 356.7 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.839e-05/0.8844, allocations: 34.5 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/0.8844, allocations: 24.94 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.8844, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.8846, allocations: 79.38 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.8846, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000295/0.8849, allocations: 105.5 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.885, allocations: 59.41 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.8851, allocations: 122 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.8851, allocations: 33.7 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.8852, allocations: 92.23 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.8852, allocations: 11.89 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.8853, allocations: 8 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.8854, allocations: 314.8 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.8855, allocations: 55.97 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.8857, allocations: 96.25 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.8858, allocations: 115.3 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8858, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000429/0.8863, allocations: 260.8 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.8863, allocations: 71.39 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.8864, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.8864, allocations: 8.125 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.97e-05/0.8864, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.8864, allocations: 4.312 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.8868, allocations: 83.77 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.8868, allocations: 15.98 kB / 1.027 GB, free: 10.95 MB / 0.7794 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.887, allocations: 129.7 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.887, allocations: 480 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.887, allocations: 12.38 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.887, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.887, allocations: 4 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.887, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.8872, allocations: 189.4 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.8872, allocations: 3.953 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-06/0.8872, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.8872, allocations: 4 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.8873, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8873, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.8873, allocations: 3.984 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.8874, allocations: 109.1 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.8875, allocations: 84.97 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.8875, allocations: 15.92 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.8875, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.8876, allocations: 4 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.8876, allocations: 3.984 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.8876, allocations: 87.28 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8876, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002381/0.8879, allocations: 35.98 kB / 1.028 GB, free: 10.18 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001688/0.8881, allocations: 103.2 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.8884, allocations: 250.7 kB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8884, allocations: 0 / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.111e-05/0.8885, allocations: 27.98 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.8887, allocations: 11.98 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.889, allocations: 169.6 kB / 1.028 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.8893, allocations: 0.6887 MB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.8893, allocations: 4 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.8893, allocations: 15.38 kB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8894, allocations: 0 / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of Templates: time 0.004737/0.8941, allocations: 1.684 MB / 1.031 GB, free: 7.176 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches