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.001521/0.001521, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001836/0.001836, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.518/1.518, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.449/2.449, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.91 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.796/0.7973, allocations: 140.4 MB / 0.9489 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001954/0.7993, allocations: 0.6784 MB / 0.9496 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.8006, allocations: 1.117 MB / 0.9507 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.8006, allocations: 0 / 0.9507 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.8007, allocations: 1.375 kB / 0.9507 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.8007, allocations: 3.938 kB / 0.9507 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.8012, allocations: 105.5 kB / 0.9508 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.8013, allocations: 82.56 kB / 0.9509 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.8014, allocations: 14.58 kB / 0.9509 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.272e-05/0.8014, allocations: 24.27 kB / 0.9509 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.8015, allocations: 27.81 kB / 0.9509 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.8015, allocations: 3.938 kB / 0.9509 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.8016, allocations: 22.56 kB / 0.951 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.8016, allocations: 5.469 kB / 0.951 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.8017, allocations: 30 kB / 0.951 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.8018, allocations: 74.86 kB / 0.9511 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8019, allocations: 0 / 0.9511 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.52e-07/0.8019, allocations: 1.25 kB / 0.9511 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8019, allocations: 0 / 0.9511 GB, free: 7.809 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.0003929/0.8023, allocations: 377.6 kB / 0.9514 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.8023, allocations: 13.2 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.8024, allocations: 5.375 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.681e-05/0.8024, allocations: 173.7 kB / 0.9516 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.8025, allocations: 2.031 kB / 0.9516 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.8025, allocations: 6.25 kB / 0.9516 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.448e-05/0.8026, allocations: 39.75 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.8026, allocations: 192 / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.8026, allocations: 3.938 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.8026, allocations: 0 / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.18e-05/0.8026, allocations: 9.094 kB / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.803, allocations: 290.7 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.164e-05/0.803, allocations: 26.61 kB / 0.952 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.803, allocations: 6.234 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.803, allocations: 1.094 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.8032, allocations: 61.05 kB / 0.952 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.8032, allocations: 1.344 kB / 0.952 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001693/0.8034, allocations: 62.75 kB / 0.9521 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.8034, allocations: 56.8 kB / 0.9522 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.8034, allocations: 103.4 kB / 0.9523 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.8035, allocations: 28.23 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.8035, allocations: 94.7 kB / 0.9524 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.8035, allocations: 5.156 kB / 0.9524 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.8036, allocations: 34.27 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.27e-05/0.8036, allocations: 312.4 kB / 0.9527 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.919e-05/0.8037, allocations: 33.98 kB / 0.9527 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.8038, allocations: 47.39 kB / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.375e-05/0.8039, allocations: 88.22 kB / 0.9529 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8039, allocations: 5.281 kB / 0.9529 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002115/0.8041, allocations: 140.8 kB / 0.953 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.8041, allocations: 37.23 kB / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.8041, allocations: 1.781 kB / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.8042, allocations: 0 / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.596e-05/0.8042, allocations: 2 kB / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.8042, allocations: 1.688 kB / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.8044, allocations: 30.95 kB / 0.9531 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.8044, allocations: 9.812 kB / 0.9531 GB, free: 5.738 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 6.393e-05/0.8045, allocations: 121.6 kB / 0.9532 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.8045, allocations: 5.719 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.8045, allocations: 9.109 kB / 0.9532 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.8045, allocations: 0 / 0.9532 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8046, allocations: 4 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.8046, allocations: 1.188 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.262e-05/0.8046, allocations: 159 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8046, allocations: 0 / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-06/0.8047, allocations: 9.469 kB / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.8047, allocations: 0 / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.8047, allocations: 1.344 kB / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8047, allocations: 0 / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8047, allocations: 5.516 kB / 0.9534 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.703e-05/0.8048, allocations: 77.28 kB / 0.9535 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.8048, allocations: 78.39 kB / 0.9535 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.8048, allocations: 1.594 kB / 0.9535 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.301e-05/0.8048, allocations: 7.938 kB / 0.9535 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.8049, allocations: 5.328 kB / 0.9536 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.8049, allocations: 1.625 kB / 0.9536 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.424e-05/0.8049, allocations: 83.31 kB / 0.9536 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8049, allocations: 0 / 0.9536 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002074/0.8051, allocations: 14.75 kB / 0.9536 GB, free: 5.121 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.0001255/0.8052, allocations: 103.8 kB / 0.9537 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.8054, allocations: 123.1 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.8054, allocations: 0 / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.737e-05/0.8055, allocations: 15.62 kB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.8057, allocations: 16.23 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.8059, allocations: 130 kB / 0.954 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.388e-05/0.806, allocations: 0.6834 MB / 0.9547 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.88e-05/0.806, allocations: 2.938 kB / 0.9547 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.181e-05/0.8061, allocations: 8.906 kB / 0.9547 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8061, allocations: 0 / 0.9547 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of Templates: time 0.00306/0.8091, allocations: 1.005 MB / 0.9557 GB, free: 3.551 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