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.001143/0.001143, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001528/0.001528, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.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.858/2.858, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.000382, allocations: 8 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8555/0.8558, allocations: 153.8 MB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0008285/0.8567, allocations: 361 kB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.858, allocations: 1.078 MB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.8581, allocations: 4 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.8581, allocations: 3.938 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-05/0.8581, allocations: 3.984 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.8586, allocations: 112.9 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.951e-05/0.8587, allocations: 63.89 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.296e-05/0.8587, allocations: 4 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.316e-05/0.8588, allocations: 35.89 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.8589, allocations: 23.91 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.8589, allocations: 8 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.06e-05/0.859, allocations: 19.98 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.859, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.8591, allocations: 33.7 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.695e-05/0.8592, allocations: 55.86 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.8592, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8592, allocations: 3.938 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.8592, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 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.0003944/0.8596, allocations: 359 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.8596, allocations: 8.562 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.8597, allocations: 8 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.8598, allocations: 171 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.8598, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.8598, allocations: 4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.8599, allocations: 45.64 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.86, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.86, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.86, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.679e-05/0.86, allocations: 11.98 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.8604, allocations: 296.8 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.579e-05/0.8605, allocations: 26.5 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.366e-05/0.8605, allocations: 4.859 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-06/0.8605, allocations: 0 / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.8606, allocations: 59.45 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.435e-06/0.8606, allocations: 7.984 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001732/0.8608, allocations: 61.62 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.8609, allocations: 51.41 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.486e-05/0.861, allocations: 109.8 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.861, allocations: 37.64 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.861, allocations: 84.05 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.8611, allocations: 7.906 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.8611, allocations: 0 / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.8612, allocations: 318.8 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.8613, allocations: 31.97 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.8613, allocations: 46.56 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.579e-05/0.8614, allocations: 61.64 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8614, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002229/0.8617, allocations: 139.3 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.8617, allocations: 41.8 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.8617, allocations: 7.875 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.8617, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.504e-05/0.8617, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.8618, allocations: 7.984 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.862, allocations: 31.97 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.862, allocations: 8 kB / 1.026 GB, free: 11.94 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 ($PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.078e-05/0.8621, allocations: 117.8 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-06/0.8621, allocations: 4 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.8621, allocations: 7.484 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.8622, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.8622, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8622, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.8623, allocations: 157.7 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8623, allocations: 3.953 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-06/0.8623, allocations: 4 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8623, allocations: 0 / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.8623, allocations: 7.984 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.8623, allocations: 0 / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8623, allocations: 0 / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.327e-05/0.8624, allocations: 80.97 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.8625, allocations: 81.06 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.8625, allocations: 4 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.8625, allocations: 8 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.8625, allocations: 3.984 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.8626, allocations: 4 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.8626, allocations: 75.59 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8626, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002/0.8628, allocations: 16 kB / 1.027 GB, free: 11.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.863, allocations: 111.4 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.8632, allocations: 123.4 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8632, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.606e-05/0.8632, allocations: 15.94 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.8634, allocations: 13.61 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.8637, allocations: 126.6 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.8639, allocations: 0.6809 MB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.8639, allocations: 12.42 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/0.864, allocations: 15.38 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.864, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.003179/0.8671, allocations: 0.9559 MB / 1.029 GB, free: 9.168 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=480 -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