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.009311/0.009311, allocations: 102 kB / 15.73 MB, free: 6.02 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.00191/0.00191, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.384/2.384, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.89 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151/1.152, allocations: 140.4 MB / 1.088 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001863/1.154, allocations: 0.6295 MB / 1.089 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001371/1.156, allocations: 1.109 MB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/1.156, allocations: 0 / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/1.156, allocations: 4.656 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/1.156, allocations: 5.516 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/1.156, allocations: 125.1 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/1.156, allocations: 89.19 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/1.156, allocations: 13.42 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.877e-05/1.156, allocations: 29.17 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/1.157, allocations: 31.41 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/1.157, allocations: 11.25 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.862e-05/1.157, allocations: 22.38 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/1.157, allocations: 7.016 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/1.157, allocations: 30.48 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/1.157, allocations: 78.05 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/1.157, allocations: 4 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.032e-06/1.157, allocations: 0 / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.136e-06/1.157, allocations: 1.062 kB / 1.09 GB, free: 4.383 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.0002909/1.157, allocations: 378.2 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.513e-05/1.157, allocations: 12.06 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/1.157, allocations: 5.594 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.234e-05/1.157, allocations: 162.8 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/1.157, allocations: 3.906 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/1.157, allocations: 4.531 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.837e-05/1.157, allocations: 48.2 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-06/1.157, allocations: 192 / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/1.157, allocations: 5.562 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-06/1.157, allocations: 0 / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.811e-05/1.158, allocations: 14.22 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/1.158, allocations: 288.9 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.004e-05/1.158, allocations: 21.91 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/1.158, allocations: 15.7 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-06/1.158, allocations: 0 / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.671e-05/1.158, allocations: 57.73 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.158, allocations: 0 / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001982/1.158, allocations: 60.97 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/1.158, allocations: 57.39 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.138e-05/1.158, allocations: 106.5 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/1.158, allocations: 32.33 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/1.158, allocations: 91.14 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/1.158, allocations: 9.891 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/1.158, allocations: 29.88 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.188e-05/1.159, allocations: 318 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.441e-05/1.159, allocations: 27.09 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.372e-05/1.159, allocations: 52.83 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/1.159, allocations: 87.48 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.159, allocations: 0.7188 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00026/1.159, allocations: 143.1 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/1.159, allocations: 34.41 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.159, allocations: 1.562 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/1.159, allocations: 0.7812 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.862e-05/1.159, allocations: 5.766 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.159, allocations: 5.672 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/1.159, allocations: 24.78 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/1.159, allocations: 9.516 kB / 1.092 GB, free: 2.414 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 6.849e-05/1.16, allocations: 115.4 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/1.16, allocations: 7.062 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/1.16, allocations: 8.016 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.16, allocations: 2.031 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.16, allocations: 4 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.16, allocations: 0 / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.531e-05/1.16, allocations: 166.2 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.16, allocations: 3.938 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/1.16, allocations: 2.094 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/1.16, allocations: 3.938 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/1.16, allocations: 1.344 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.16, allocations: 0.7031 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.16, allocations: 0 / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/1.16, allocations: 84.03 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/1.16, allocations: 79.25 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/1.16, allocations: 1.516 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.217e-05/1.16, allocations: 0.75 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/1.16, allocations: 2.531 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/1.16, allocations: 1.438 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.163e-05/1.16, allocations: 84.95 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.16, allocations: 0.75 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002269/1.16, allocations: 14.64 kB / 1.093 GB, free: 1.82 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.0001946/1.16, allocations: 104.3 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002165/1.161, allocations: 123.4 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.161, allocations: 0 / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.049e-05/1.161, allocations: 12.27 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/1.161, allocations: 15.61 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/1.161, allocations: 125.6 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/1.161, allocations: 0.6773 MB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.932e-05/1.161, allocations: 2.938 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/1.161, allocations: 9.828 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.161, allocations: 0.875 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of Templates: time 0.004062/1.165, allocations: 1.048 MB / 1.095 GB, free: 0.6836 MB / 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/jenkins/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