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.Or3.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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 180.8 kB / 316.3 MB, free: 3.211 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.628/1.628, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008507/0.0008507, allocations: 84.53 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.941e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2315, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8018/1.033, allocations: 131.7 MB / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.034, allocations: 70.33 kB / 1.014 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003285/1.037, allocations: 1.158 MB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/1.037, allocations: 0 / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.141e-05/1.037, allocations: 4 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005823/1.038, allocations: 388.6 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.038, allocations: 8.031 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/1.038, allocations: 7.938 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/1.038, allocations: 188.5 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/1.038, allocations: 0 / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/1.038, allocations: 7.984 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/1.038, allocations: 23.75 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/1.038, allocations: 59.31 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.038, allocations: 0 / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/1.038, allocations: 3.984 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/1.038, allocations: 0 / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/1.039, allocations: 276.3 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.87e-05/1.039, allocations: 48.09 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/1.039, allocations: 25.97 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/1.039, allocations: 0 / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/1.039, allocations: 88.06 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/1.039, allocations: 0 / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0001933/1.039, allocations: 85.42 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/1.039, allocations: 55.41 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/1.039, allocations: 114.6 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/1.039, allocations: 29.7 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/1.039, allocations: 86.58 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/1.039, allocations: 18.22 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/1.039, allocations: 0 / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.04, allocations: 329.8 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/1.04, allocations: 18.12 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/1.04, allocations: 49.55 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/1.04, allocations: 18.41 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.04, allocations: 0 / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001381/1.04, allocations: 86.78 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.04, allocations: 11.98 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.04, allocations: 0 / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.04, allocations: 4 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/1.04, allocations: 7.938 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.04, allocations: 0 / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/1.04, allocations: 27.91 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/1.04, allocations: 12.09 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.245e-05/1.04, allocations: 114.5 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/1.04, allocations: 11.89 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/1.04, allocations: 14.62 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.04, allocations: 4 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.04, allocations: 0 / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.04, allocations: 0 / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/1.041, allocations: 168.1 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.041, allocations: 0 / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.206e-05/1.041, allocations: 8 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/1.041, allocations: 0 / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/1.041, allocations: 0 / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/1.041, allocations: 4 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.041, allocations: 0 / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/1.041, allocations: 118.3 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/1.041, allocations: 81.02 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/1.041, allocations: 4 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/1.041, allocations: 27.53 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/1.041, allocations: 15.97 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/1.041, allocations: 3.938 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.939e-05/1.041, allocations: 97.53 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.041, allocations: 0 / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001834/1.041, allocations: 16 kB / 1.018 GB, free: 2.152 MB / 0.6355 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 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete 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 (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.0001285/1.041, allocations: 103.2 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001305/1.042, allocations: 57.69 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.042, allocations: 0 / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.523e-05/1.042, allocations: 29.75 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/1.042, allocations: 20.27 kB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/1.042, allocations: 114.2 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/1.043, allocations: 0.6963 MB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.025e-05/1.043, allocations: 16.48 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/1.043, allocations: 11.44 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/1.043, allocations: 0 / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of Templates: time 0.003153/1.046, allocations: 0.9995 MB / 1.02 GB, free: 112 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches