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.Not.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.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 249.5 MB / 257 MB, free: 6.969 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.001062/0.001062, allocations: 180.9 kB / 316.3 MB, free: 3.219 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.68/1.68, 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.000799/0.0007992, allocations: 81.55 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.437e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2421, allocations: 106.3 MB / 0.8852 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8121/1.054, allocations: 131.6 MB / 1.014 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/1.055, allocations: 73.19 kB / 1.014 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001583/1.056, allocations: 0.6339 MB / 1.014 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/1.056, allocations: 0 / 1.014 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.056, allocations: 0 / 1.014 GB, free: 5.508 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003764/1.057, allocations: 333.8 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.057, allocations: 8.031 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/1.057, allocations: 4 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/1.057, allocations: 171 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/1.057, allocations: 0 / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/1.057, allocations: 4 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.648e-05/1.057, allocations: 11.11 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.722e-05/1.057, allocations: 36.58 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/1.057, allocations: 0 / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/1.057, allocations: 0 / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/1.057, allocations: 0 / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/1.057, allocations: 235.9 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.616e-05/1.057, allocations: 32.95 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/1.058, allocations: 8.922 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/1.058, allocations: 3.984 kB / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/1.058, allocations: 50.22 kB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/1.058, allocations: 4 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001372/1.058, allocations: 40.88 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/1.058, allocations: 62.08 kB / 1.015 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.157e-05/1.058, allocations: 96.36 kB / 1.015 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/1.058, allocations: 25.7 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/1.058, allocations: 87.38 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/1.058, allocations: 8.656 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/1.058, allocations: 0 / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.058, allocations: 318.1 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/1.058, allocations: 8 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/1.058, allocations: 21.14 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.642e-05/1.058, allocations: 4 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/1.058, allocations: 0 / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.968e-05/1.058, allocations: 49 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.058, allocations: 7.938 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.058, allocations: 4 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/1.058, allocations: 4.031 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/1.058, allocations: 3.938 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.058, allocations: 4 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/1.058, allocations: 7.984 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/1.059, allocations: 3.438 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.871e-05/1.059, allocations: 108.9 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/1.059, allocations: 3.906 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/1.059, allocations: 4.125 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/1.059, allocations: 4 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.059, allocations: 4 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1.059, allocations: 0 / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/1.059, allocations: 141.2 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.059, allocations: 0 / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-06/1.059, allocations: 3.984 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.059, allocations: 0 / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/1.059, allocations: 0 / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.059, allocations: 4 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.059, allocations: 3.938 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.402e-05/1.059, allocations: 71.88 kB / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/1.059, allocations: 81.48 kB / 1.016 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/1.059, allocations: 0 / 1.016 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.101e-05/1.059, allocations: 11.98 kB / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/1.059, allocations: 0 / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/1.059, allocations: 4 kB / 1.016 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.794e-05/1.059, allocations: 86.5 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.059, allocations: 0 / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001752/1.059, allocations: 12 kB / 1.017 GB, free: 3.121 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001231/1.059, allocations: 95.25 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.307e-05/1.06, allocations: 22.94 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.06, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/1.06, allocations: 4 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/1.06, allocations: 7.984 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001924/1.06, allocations: 74.7 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.06, allocations: 0.6845 MB / 1.017 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.036e-05/1.06, allocations: 0 / 1.017 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/1.06, allocations: 11.44 kB / 1.017 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/1.06, allocations: 0 / 1.017 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of Templates: time 0.002053/1.062, allocations: 422.1 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches