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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009853/0.0009851, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001064/0.001064, allocations: 177.3 kB / 15.94 MB, free: 228 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.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.79/2.79, allocations: 436.5 MB / 0.7104 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004037, allocations: 16 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8278, allocations: 153.6 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008779/0.8288, allocations: 392.8 kB / 1.021 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.8302, allocations: 1.128 MB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.8302, allocations: 4 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.8302, allocations: 4 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.8303, allocations: 11.97 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.8309, allocations: 189 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.8311, allocations: 83.89 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.8312, allocations: 8 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.8313, allocations: 63.88 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.982e-05/0.8314, allocations: 43.88 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.8314, allocations: 8 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.491e-05/0.8315, allocations: 27.92 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.8315, allocations: 7.969 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.8316, allocations: 37.7 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.8317, allocations: 99.7 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.8318, allocations: 0 / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8318, allocations: 0 / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.086e-06/0.8318, allocations: 0 / 1.023 GB, free: 15.01 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.0005402/0.8323, allocations: 416.5 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.8324, allocations: 19.97 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.8324, allocations: 4 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.8326, allocations: 174.9 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.8326, allocations: 8 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.8327, allocations: 11.95 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.8328, allocations: 49.67 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.8328, allocations: 0 / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.8328, allocations: 0 / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8328, allocations: 0 / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.8329, allocations: 20 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.8334, allocations: 360.6 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.027e-05/0.8335, allocations: 34.56 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.8335, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.8338, allocations: 79.47 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.8338, allocations: 3.938 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000259/0.834, allocations: 105.6 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.8341, allocations: 51.41 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.8342, allocations: 118 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.8342, allocations: 29.7 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.8343, allocations: 96.23 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.8344, allocations: 11.89 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/0.8344, allocations: 4 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.8345, allocations: 322.8 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.8346, allocations: 55.97 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.8348, allocations: 96.19 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.835, allocations: 115.8 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.835, allocations: 4 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004043/0.8354, allocations: 260.7 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.8354, allocations: 67.39 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8355, allocations: 7.938 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.8355, allocations: 0 / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.168e-05/0.8355, allocations: 4 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.8355, allocations: 3.938 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.8359, allocations: 87.89 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.836, allocations: 11.98 kB / 1.025 GB, free: 12.14 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.0001113/0.8361, allocations: 130.4 kB / 1.025 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.8361, allocations: 4 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.8361, allocations: 12.36 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8361, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.8361, allocations: 4 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.8362, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.8363, allocations: 173.6 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.8363, allocations: 7.953 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-06/0.8363, allocations: 4 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8363, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.8363, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.8364, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.8364, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.8365, allocations: 109 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.8366, allocations: 88.97 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.8366, allocations: 3.984 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.795e-05/0.8366, allocations: 0 / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.8366, allocations: 8 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.8367, allocations: 7.984 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.8367, allocations: 87.28 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8367, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002437/0.837, allocations: 31.98 kB / 1.026 GB, free: 11.38 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.000158/0.8371, allocations: 103.5 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.8375, allocations: 246.9 kB / 1.026 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.8375, allocations: 4.062 kB / 1.026 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.411e-05/0.8375, allocations: 35.86 kB / 1.026 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.8377, allocations: 11.98 kB / 1.026 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.838, allocations: 167.2 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.8384, allocations: 0.6926 MB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.8384, allocations: 8 kB / 1.027 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.8384, allocations: 7.438 kB / 1.027 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.8384, allocations: 0 / 1.027 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.004246/0.8427, allocations: 1.682 MB / 1.029 GB, free: 8.375 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches