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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001709/0.001709, allocations: 102.9 kB / 16.35 MB, free: 5.828 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.002123/0.002123, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 65.41 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3558, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002029/0.3579, allocations: 0.6248 MB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3593, allocations: 1.114 MB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.3594, allocations: 0 / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.3594, allocations: 0 / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-05/0.3595, allocations: 3.938 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.36, allocations: 137.5 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.3602, allocations: 91.89 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.3603, allocations: 7.938 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.069e-05/0.3604, allocations: 31.97 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3605, allocations: 43.88 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.3605, allocations: 8 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.85e-05/0.3606, allocations: 15.94 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.3606, allocations: 11.98 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.3607, allocations: 27.91 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.3608, allocations: 83.78 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3609, allocations: 0 / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3609, allocations: 0 / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3609, allocations: 0 / 1.021 GB, free: 7.629 MB / 0.795 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.0005047/0.3614, allocations: 377.1 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3614, allocations: 12.62 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.3615, allocations: 8.844 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3616, allocations: 164.4 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3616, allocations: 4.375 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.3617, allocations: 4.375 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.967e-05/0.3618, allocations: 38.25 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3618, allocations: 192 / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.3618, allocations: 11.88 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3618, allocations: 0 / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.98e-05/0.3619, allocations: 7.984 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.3623, allocations: 288.9 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.3623, allocations: 22.5 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.3624, allocations: 12.92 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.3624, allocations: 3.938 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.3626, allocations: 59.39 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.572e-06/0.3626, allocations: 4 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0002061/0.3628, allocations: 61.53 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.3629, allocations: 55.41 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.363, allocations: 105.8 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.363, allocations: 33.64 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.363, allocations: 80.14 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.3631, allocations: 15.84 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.3631, allocations: 29.7 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3632, allocations: 318.8 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.3633, allocations: 27.98 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.562e-05/0.3634, allocations: 46.56 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.3635, allocations: 84.14 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3635, allocations: 320 / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002326/0.3638, allocations: 147.3 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.3638, allocations: 37.69 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3638, allocations: 4 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3638, allocations: 4.234 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.616e-05/0.3639, allocations: 0 / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3639, allocations: 4 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.3641, allocations: 31.81 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.3641, allocations: 4 kB / 1.023 GB, free: 5.293 MB / 0.795 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 8.796e-05/0.3642, allocations: 121.9 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.3642, allocations: 7.969 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.3642, allocations: 7.5 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3643, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3643, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3643, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.3644, allocations: 157.6 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3644, allocations: 4 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-06/0.3644, allocations: 0 / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3644, allocations: 7.984 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3644, allocations: 0 / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3644, allocations: 0 / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3644, allocations: 3.938 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.373e-05/0.3645, allocations: 81.06 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.3646, allocations: 81.02 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.3646, allocations: 0 / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.502e-05/0.3646, allocations: 3.984 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.3647, allocations: 12 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3647, allocations: 0 / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.3647, allocations: 79.28 kB / 1.023 GB, free: 4.637 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.144e-06/0.3647, allocations: 0 / 1.023 GB, free: 4.637 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002353/0.365, allocations: 19.94 kB / 1.024 GB, free: 4.617 MB / 0.795 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.0001796/0.3652, allocations: 115.2 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.3654, allocations: 115.3 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3654, allocations: 4.188 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.3654, allocations: 12 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.3656, allocations: 15.92 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.3659, allocations: 118.1 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.3663, allocations: 0.6768 MB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.3663, allocations: 8 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.3663, allocations: 7.438 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3663, allocations: 4 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of Templates: time 0.003825/0.3702, allocations: 1.041 MB / 1.026 GB, free: 2.449 MB / 0.795 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=480 -s gbode -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/jenkins1/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