Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001643/0.001643, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 196 kB / 16.53 MB, free: 6.664 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.53/1.53, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.872/2.872, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8585/0.8605, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002789/0.8633, allocations: 0.6189 MB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.8657, allocations: 1.109 MB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.8658, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.704e-05/0.8658, allocations: 3.938 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.449e-05/0.866, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006825/0.8667, allocations: 120.8 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.8669, allocations: 91.88 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.867, allocations: 11.98 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.155e-05/0.8671, allocations: 39.86 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.8673, allocations: 27.89 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.8673, allocations: 8 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.8674, allocations: 23.98 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.8675, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.241e-05/0.8676, allocations: 31.91 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.8678, allocations: 79.8 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.8678, allocations: 0 / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.845e-06/0.8678, allocations: 4 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8678, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 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.0009048/0.8687, allocations: 379.1 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.8688, allocations: 12.03 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.8689, allocations: 4.938 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.8691, allocations: 168.2 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.8692, allocations: 4.375 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.8692, allocations: 4.375 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.8693, allocations: 46.19 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.8693, allocations: 192 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.8694, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.8694, allocations: 8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.406e-05/0.8694, allocations: 7.984 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.87, allocations: 280.9 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/0.8701, allocations: 30.45 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.8701, allocations: 8.922 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.8701, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.8703, allocations: 59.39 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.8703, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002249/0.8705, allocations: 73.56 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.8706, allocations: 55.34 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.8707, allocations: 101.9 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.8707, allocations: 25.7 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.8708, allocations: 96.11 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.8708, allocations: 7.906 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.8709, allocations: 29.7 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.8711, allocations: 314.8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.177e-05/0.8712, allocations: 31.98 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.8713, allocations: 50.48 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.8714, allocations: 92.14 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8715, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002692/0.8717, allocations: 139.3 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.8718, allocations: 37.7 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.8718, allocations: 320 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.8718, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.276e-05/0.8718, allocations: 8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.8719, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.8721, allocations: 32.05 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.8721, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 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 0.0001245/0.8722, allocations: 117.8 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.8723, allocations: 7.906 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.8723, allocations: 7.484 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.8723, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.8723, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8723, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.8725, allocations: 165.6 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8726, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-06/0.8726, allocations: 3.938 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8726, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.8726, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.8726, allocations: 3.984 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8726, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.8727, allocations: 77.06 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.8728, allocations: 77.11 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.8729, allocations: 8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.8729, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.8729, allocations: 3.984 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.8729, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.564e-05/0.873, allocations: 83.28 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.873, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00022/0.8732, allocations: 12 kB / 1.022 GB, free: 13.32 MB / 0.7794 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.000227/0.8735, allocations: 103.2 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.8738, allocations: 127.3 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8738, allocations: 3.938 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.244e-05/0.8738, allocations: 8 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.8741, allocations: 19.86 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.8745, allocations: 126 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.875, allocations: 0.6848 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.8751, allocations: 384 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.8751, allocations: 11.44 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8751, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of Templates: time 0.004032/0.8791, allocations: 1.049 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches