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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 110.7 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 71.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9699/0.9721, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001829/0.9739, allocations: 0.6194 MB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.9753, allocations: 1.111 MB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.9754, allocations: 0 / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.9754, allocations: 5.312 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.9755, allocations: 1.172 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.976, allocations: 127.1 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000164/0.9761, allocations: 94.41 kB / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.9762, allocations: 11.73 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.9763, allocations: 37.38 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.9764, allocations: 27.88 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.9764, allocations: 7.562 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.556e-05/0.9765, allocations: 26.38 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.9765, allocations: 9.703 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.9766, allocations: 27.38 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.9768, allocations: 77.94 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9768, allocations: 0 / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9768, allocations: 0 / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.9768, allocations: 1.281 kB / 1.091 GB, free: 4.137 MB / 0.8575 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.0003968/0.9772, allocations: 375.7 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.9773, allocations: 13.19 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.9773, allocations: 13.62 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.348e-05/0.9774, allocations: 163 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.9774, allocations: 6.656 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.9774, allocations: 6.109 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.739e-05/0.9775, allocations: 39.38 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.9775, allocations: 192 / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.9776, allocations: 4.844 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.9776, allocations: 1.734 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.624e-05/0.9776, allocations: 5.594 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.978, allocations: 288 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.265e-05/0.978, allocations: 30.28 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.539e-05/0.978, allocations: 8.312 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.978, allocations: 0.5625 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.9782, allocations: 57.17 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.9782, allocations: 0 / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001843/0.9784, allocations: 72.67 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.9784, allocations: 53.14 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.9785, allocations: 103.3 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.9785, allocations: 27.8 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.9786, allocations: 87.25 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.979e-06/0.9786, allocations: 10 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.9786, allocations: 30.38 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.9787, allocations: 313.5 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.225e-05/0.9788, allocations: 35.12 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.9788, allocations: 44.94 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.799e-05/0.9789, allocations: 87.94 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.979, allocations: 0 / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002511/0.9792, allocations: 146.7 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.9793, allocations: 43.55 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.9793, allocations: 4.656 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.9793, allocations: 0.875 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.691e-05/0.9793, allocations: 2.203 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.9793, allocations: 1 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.9795, allocations: 34.3 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.9796, allocations: 6.188 kB / 1.093 GB, free: 2.172 MB / 0.8575 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 (booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/0.9796, allocations: 127.4 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.9797, allocations: 1.562 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.9797, allocations: 5.016 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.9797, allocations: 1.531 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.9797, allocations: 0.875 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.9797, allocations: 0.7969 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.313e-05/0.9798, allocations: 161.1 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9798, allocations: 0 / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-06/0.9798, allocations: 5.75 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.9798, allocations: 0.9375 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.9798, allocations: 4.609 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.9798, allocations: 0.875 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.9798, allocations: 0 / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.702e-05/0.9799, allocations: 80.41 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.98, allocations: 82.36 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.98, allocations: 2.312 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.371e-05/0.98, allocations: 0.5625 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.98, allocations: 2.844 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.98, allocations: 9.719 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.686e-05/0.9801, allocations: 85.27 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9801, allocations: 0 / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002096/0.9803, allocations: 14.92 kB / 1.093 GB, free: 1.574 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001418/0.9804, allocations: 100.2 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.9807, allocations: 119.2 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9807, allocations: 1.062 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/0.9807, allocations: 16.28 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.9809, allocations: 16.98 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.9812, allocations: 151.8 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.9813, allocations: 0.6783 MB / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/0.9813, allocations: 9.625 kB / 1.094 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.9813, allocations: 3.938 kB / 1.094 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of Templates: time 0.003035/0.9844, allocations: 0.8589 MB / 1.095 GB, free: 468 kB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches