Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009961/0.0009961, allocations: 188.7 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.897/1.897, allocations: 221.5 MB / 0.7824 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 99.8 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.281e-05/2.283e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2984, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.376, allocations: 148.6 MB / 1.351 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.376, allocations: 71.52 kB / 1.351 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005994/1.382, allocations: 1.77 MB / 1.353 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/1.382, allocations: 0 / 1.353 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.627e-06/1.382, allocations: 3.906 kB / 1.353 GB, free: 33.98 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003316/1.383, allocations: 364.7 kB / 1.353 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.383, allocations: 8.219 kB / 1.353 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/1.383, allocations: 11.97 kB / 1.353 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.096e-05/1.383, allocations: 164.4 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/1.383, allocations: 7.75 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/1.383, allocations: 4.641 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.996e-05/1.383, allocations: 3.875 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.687e-05/1.383, allocations: 39.38 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/1.383, allocations: 0 / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/1.383, allocations: 4.562 kB / 1.353 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.383, allocations: 3.875 kB / 1.353 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/1.383, allocations: 268.6 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.638e-05/1.383, allocations: 18.45 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.366e-05/1.383, allocations: 8.828 kB / 1.354 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/1.383, allocations: 3.938 kB / 1.354 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/1.384, allocations: 56.17 kB / 1.354 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.384, allocations: 3.938 kB / 1.354 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001681/1.384, allocations: 51.92 kB / 1.354 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/1.384, allocations: 55.84 kB / 1.354 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/1.384, allocations: 101.1 kB / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/1.384, allocations: 26.45 kB / 1.354 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/1.384, allocations: 84.77 kB / 1.354 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.507e-06/1.384, allocations: 11.78 kB / 1.354 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/1.384, allocations: 3.375 kB / 1.354 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.384, allocations: 316.4 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.439e-05/1.384, allocations: 27.28 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/1.384, allocations: 44.88 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/1.384, allocations: 30.09 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.384, allocations: 7.875 kB / 1.355 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000283/1.385, allocations: 111.4 kB / 1.355 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/1.385, allocations: 39.3 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.385, allocations: 0.6094 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/1.385, allocations: 0 / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.801e-05/1.385, allocations: 0.5625 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.385, allocations: 4.547 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/1.385, allocations: 35.53 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/1.385, allocations: 5.406 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.415e-05/1.385, allocations: 113.4 kB / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/1.385, allocations: 8.344 kB / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/1.385, allocations: 4.688 kB / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.385, allocations: 0 / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.385, allocations: 4.609 kB / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/1.385, allocations: 0 / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.251e-05/1.385, allocations: 146.2 kB / 1.355 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.385, allocations: 0 / 1.355 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-06/1.385, allocations: 3.875 kB / 1.355 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.385, allocations: 0.5156 kB / 1.355 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/1.385, allocations: 0 / 1.355 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.385, allocations: 4.406 kB / 1.355 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.385, allocations: 3.984 kB / 1.355 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.791e-05/1.385, allocations: 81.56 kB / 1.355 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/1.385, allocations: 82.73 kB / 1.355 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/1.385, allocations: 0.7969 kB / 1.355 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.379e-05/1.386, allocations: 0 / 1.355 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/1.386, allocations: 9.312 kB / 1.355 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/1.386, allocations: 3.312 kB / 1.355 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.985e-05/1.386, allocations: 84.7 kB / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.386, allocations: 0 / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002045/1.386, allocations: 23.81 kB / 1.355 GB, free: 31.74 MB / 0.8386 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,$whenCondition2,booPul.y) * 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.0001824/1.386, allocations: 119 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000166/1.386, allocations: 110.6 kB / 1.355 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.386, allocations: 0 / 1.355 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/1.386, allocations: 11.92 kB / 1.356 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/1.386, allocations: 5.891 kB / 1.356 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001957/1.387, allocations: 70.64 kB / 1.356 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/1.387, allocations: 0.6818 MB / 1.356 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.988e-05/1.387, allocations: 4.578 kB / 1.356 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/1.387, allocations: 7.438 kB / 1.356 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.387, allocations: 0 / 1.356 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of Templates: time 0.003129/1.39, allocations: 0.8815 MB / 1.357 GB, free: 30.71 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches