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.0009811/0.0009813, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009379/0.009379, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.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.546/2.546, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004033, allocations: 12.28 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9586/0.959, allocations: 142.4 MB / 0.9551 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.000957/0.96, allocations: 349.3 kB / 0.9554 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.9619, allocations: 1.108 MB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.9619, allocations: 0 / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.962, allocations: 0 / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.832e-05/0.9621, allocations: 13.45 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.9627, allocations: 103 kB / 0.9566 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.9628, allocations: 83.11 kB / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.963, allocations: 2.906 kB / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.9631, allocations: 40.14 kB / 0.9567 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.491e-05/0.9632, allocations: 18.94 kB / 0.9567 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.9632, allocations: 4.406 kB / 0.9567 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.661e-05/0.9633, allocations: 22.11 kB / 0.9567 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.9634, allocations: 5.5 kB / 0.9568 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.291e-05/0.9635, allocations: 50.91 kB / 0.9568 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.9636, allocations: 75.11 kB / 0.9569 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9637, allocations: 1.25 kB / 0.9569 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.464e-06/0.9637, allocations: 0 / 0.9569 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.9637, allocations: 0 / 0.9569 GB, free: 6.301 MB / 0.7169 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.0004441/0.9641, allocations: 358.2 kB / 0.9572 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.9642, allocations: 9.469 kB / 0.9572 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.9643, allocations: 3.938 kB / 0.9572 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.9644, allocations: 182.7 kB / 0.9574 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.9644, allocations: 2.5 kB / 0.9574 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.9645, allocations: 12.83 kB / 0.9574 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.9646, allocations: 35.73 kB / 0.9574 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.9646, allocations: 192 / 0.9574 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.9646, allocations: 9.047 kB / 0.9575 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.9646, allocations: 4 kB / 0.9575 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.9647, allocations: 5.438 kB / 0.9575 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.9651, allocations: 294.5 kB / 0.9577 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.951e-05/0.9652, allocations: 25.31 kB / 0.9578 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.9652, allocations: 16.09 kB / 0.9578 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.9653, allocations: 0 / 0.9578 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.9654, allocations: 57.2 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.764e-06/0.9654, allocations: 1.406 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002322/0.9657, allocations: 66.38 kB / 0.9579 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.9657, allocations: 52.44 kB / 0.958 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.552e-05/0.9658, allocations: 103.8 kB / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.9658, allocations: 27.89 kB / 0.9581 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.9659, allocations: 87.11 kB / 0.9582 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.9659, allocations: 10.53 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.966, allocations: 13.06 kB / 0.9582 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.966, allocations: 320.5 kB / 0.9585 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.4e-05/0.9661, allocations: 30.61 kB / 0.9585 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.911e-05/0.9662, allocations: 47.12 kB / 0.9586 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.9664, allocations: 83.55 kB / 0.9586 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.9664, allocations: 1.469 kB / 0.9586 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003039/0.9667, allocations: 141.8 kB / 0.9588 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.9668, allocations: 40.22 kB / 0.9588 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9668, allocations: 1.094 kB / 0.9588 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.9668, allocations: 1.344 kB / 0.9588 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-05/0.9668, allocations: 1.469 kB / 0.9588 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.9668, allocations: 1.469 kB / 0.9588 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.9671, allocations: 37.66 kB / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.9672, allocations: 11.64 kB / 0.9589 GB, free: 4.238 MB / 0.7169 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.764e-05/0.9673, allocations: 123 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.9673, allocations: 1.844 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.9673, allocations: 11.44 kB / 0.959 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.9673, allocations: 1.781 kB / 0.959 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9673, allocations: 0 / 0.959 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.9674, allocations: 0 / 0.959 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.9675, allocations: 163 kB / 0.9592 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9675, allocations: 5.781 kB / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-06/0.9675, allocations: 0 / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.9675, allocations: 0 / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.9675, allocations: 1.812 kB / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.9675, allocations: 0 / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9675, allocations: 0 / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.9677, allocations: 83.09 kB / 0.9592 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.9677, allocations: 83.69 kB / 0.9593 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.9677, allocations: 0 / 0.9593 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.508e-05/0.9677, allocations: 8 kB / 0.9593 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.9678, allocations: 6.406 kB / 0.9593 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.9678, allocations: 1.625 kB / 0.9593 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.831e-05/0.9678, allocations: 86.17 kB / 0.9594 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9678, allocations: 0 / 0.9594 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003402/0.9682, allocations: 14.12 kB / 0.9594 GB, free: 3.617 MB / 0.7169 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.0001492/0.9683, allocations: 98.59 kB / 0.9595 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.9686, allocations: 127.1 kB / 0.9597 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.9686, allocations: 0 / 0.9597 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.9687, allocations: 16.17 kB / 0.9597 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.969, allocations: 18.53 kB / 0.9597 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.9693, allocations: 128.1 kB / 0.9598 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.9695, allocations: 0.6874 MB / 0.9605 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.838e-05/0.9695, allocations: 5.438 kB / 0.9605 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.9695, allocations: 9.062 kB / 0.9605 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.9695, allocations: 1.344 kB / 0.9605 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of Templates: time 0.004402/0.974, allocations: 0.9857 MB / 0.9615 GB, free: 2.055 MB / 0.7169 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