Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 175.4 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008382/0.0008382, allocations: 82.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 12.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2522, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.428, allocations: 131.4 MB / 1.028 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4283, allocations: 63.97 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002545/0.4309, allocations: 0.8995 MB / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4309, allocations: 0 / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.431, allocations: 0 / 1.029 GB, free: 11.33 MB / 0.6823 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.0005212/0.4315, allocations: 375.6 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4315, allocations: 8.031 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.4316, allocations: 7.938 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.4318, allocations: 182.9 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.4318, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.4318, allocations: 4 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.432, allocations: 49.69 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.432, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.432, allocations: 4 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.432, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.4321, allocations: 23.98 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.4326, allocations: 280.8 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.4327, allocations: 42.56 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.4327, allocations: 4 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.4329, allocations: 75.56 kB / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.4329, allocations: 0 / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000224/0.4332, allocations: 93.47 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.4332, allocations: 55.39 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.4333, allocations: 105 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.4333, allocations: 29.7 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.4334, allocations: 92.14 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.4334, allocations: 11.8 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.4334, allocations: 4 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4336, allocations: 322.8 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.237e-05/0.4336, allocations: 12 kB / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-05/0.4337, allocations: 38.5 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.4337, allocations: 16 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4337, allocations: 0 / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001225/0.4338, allocations: 77.53 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4339, allocations: 8 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4339, allocations: 0 / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.4339, allocations: 0 / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.434, allocations: 4 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.434, allocations: 4 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.943e-05/0.4341, allocations: 20.05 kB / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.4341, allocations: 4 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001008/0.4342, allocations: 131.5 kB / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.4342, allocations: 4 kB / 1.031 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.4343, allocations: 12.31 kB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4343, allocations: 0 / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4343, allocations: 0 / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4343, allocations: 0 / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.4345, allocations: 181.6 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4345, allocations: 4 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-06/0.4345, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4345, allocations: 4 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4345, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4345, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4345, allocations: 4 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.4347, allocations: 105 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.4347, allocations: 85.02 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.4348, allocations: 7.938 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.4349, allocations: 12.17 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.4349, allocations: 11.97 kB / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.4349, allocations: 7.938 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.267e-05/0.435, allocations: 96.05 kB / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.435, allocations: 0 / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001866/0.4352, allocations: 8 kB / 1.032 GB, free: 8.445 MB / 0.6823 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001473/0.4353, allocations: 103.2 kB / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.4355, allocations: 48.14 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4355, allocations: 0 / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.997e-05/0.4356, allocations: 27.97 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.4358, allocations: 19.94 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.4361, allocations: 166.9 kB / 1.032 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.4364, allocations: 0.6878 MB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.4365, allocations: 7.859 kB / 1.033 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.4365, allocations: 19.36 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of SimCode: time 6.11e-07/0.4365, allocations: 0 / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of Templates: time 0.002927/0.4395, allocations: 0.7387 MB / 1.034 GB, free: 6.574 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches