Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.309/2.309, allocations: 393.5 MB / 408.5 MB, free: 10.96 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.001237/0.001237, allocations: 195 kB / 0.4902 GB, free: 2.223 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.61/1.61, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 98.78 kB / 0.9396 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005578/0.0005573, allocations: 15.31 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3092, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.5101, allocations: 150.1 MB / 1.376 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.5104, allocations: 75.95 kB / 1.376 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005687/0.5161, allocations: 1.786 MB / 1.378 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5161, allocations: 0 / 1.378 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.5161, allocations: 0 / 1.378 GB, free: 1.473 MB / 0.8698 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.0004639/0.5166, allocations: 361.1 kB / 1.378 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.5166, allocations: 12.03 kB / 1.378 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.5167, allocations: 11.91 kB / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.5169, allocations: 167 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.5169, allocations: 4 kB / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.517, allocations: 4 kB / 1.378 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.5171, allocations: 45.62 kB / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5171, allocations: 0 / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.5171, allocations: 0 / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5171, allocations: 0 / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.591e-05/0.5172, allocations: 8 kB / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.5177, allocations: 292.8 kB / 1.379 GB, free: 448 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.86e-05/0.5178, allocations: 26.52 kB / 1.379 GB, free: 412 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.5178, allocations: 4 kB / 1.379 GB, free: 408 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.518, allocations: 59.39 kB / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 2.304e-06/0.518, allocations: 4 kB / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002345/0.5183, allocations: 61.59 kB / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.5183, allocations: 55.36 kB / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.5184, allocations: 104.9 kB / 1.379 GB, free: 84 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.5185, allocations: 33.7 kB / 1.379 GB, free: 44 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.5185, allocations: 88.14 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.5186, allocations: 3.906 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.5186, allocations: 4 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5187, allocations: 318.8 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/0.5188, allocations: 27.98 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.927e-05/0.5189, allocations: 46.56 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.807e-05/0.519, allocations: 61.69 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.519, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000251/0.5193, allocations: 135.5 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.5193, allocations: 37.7 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5193, allocations: 0 / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.5193, allocations: 0 / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.718e-05/0.5194, allocations: 4 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5194, allocations: 7.969 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.5196, allocations: 44 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.5196, allocations: 8 kB / 1.38 GB, free: 15.23 MB / 0.8855 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 () * Number of clocked 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 0.0001119/0.5197, allocations: 118.6 kB / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.5197, allocations: 3.906 kB / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.5198, allocations: 3.5 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5198, allocations: 7.984 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5198, allocations: 4 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5198, allocations: 0 / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.52, allocations: 157.6 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.52, allocations: 0 / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-06/0.52, allocations: 4 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.52, allocations: 0 / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.52, allocations: 0 / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.52, allocations: 0 / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.52, allocations: 0 / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.5201, allocations: 89 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.5202, allocations: 81.11 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.5202, allocations: 0 / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.5203, allocations: 4 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.5203, allocations: 7.922 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.5203, allocations: 4.312 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.452e-05/0.5203, allocations: 83.28 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5204, allocations: 3.938 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002212/0.5206, allocations: 23.94 kB / 1.38 GB, free: 14.55 MB / 0.8855 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 () * Number of clocked 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.0002129/0.5208, allocations: 111.2 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.521, allocations: 115.4 kB / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.521, allocations: 3.938 kB / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.5211, allocations: 12 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.5212, allocations: 12.8 kB / 1.38 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.5216, allocations: 126.9 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.5219, allocations: 0.6848 MB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.58e-05/0.5219, allocations: 0 / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.5219, allocations: 11.44 kB / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/0.5219, allocations: 0 / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.003498/0.5254, allocations: 0.9511 MB / 1.382 GB, free: 12.46 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches