Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001022/0.001022, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.00111/0.00111, allocations: 177.3 kB / 15.95 MB, free: 216 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.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 12 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8543, allocations: 153.7 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001086/0.8554, allocations: 344.9 kB / 1.021 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.8572, allocations: 1.07 MB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.8572, allocations: 0 / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.8573, allocations: 0 / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.8574, allocations: 15.92 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.858, allocations: 102.3 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.8582, allocations: 43.94 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.8583, allocations: 0 / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.069e-05/0.8584, allocations: 35.91 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.76e-05/0.8585, allocations: 19.97 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.8585, allocations: 4 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.8586, allocations: 19.92 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.8586, allocations: 11.98 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.384e-05/0.8587, allocations: 29.7 kB / 1.022 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.8589, allocations: 55.88 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8589, allocations: 0 / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.421e-06/0.8589, allocations: 0 / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.8589, allocations: 0 / 1.023 GB, free: 15.33 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.000657/0.8596, allocations: 363 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.8596, allocations: 11.98 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.8597, allocations: 8 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.8599, allocations: 163 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.86, allocations: 8 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.86, allocations: 4 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.8601, allocations: 49.52 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.8601, allocations: 4 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.8602, allocations: 0 / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.8602, allocations: 0 / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.44e-05/0.8602, allocations: 11.92 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.8608, allocations: 296.8 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.779e-05/0.8608, allocations: 22.52 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.8609, allocations: 0 / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.861, allocations: 59.45 kB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.861, allocations: 0 / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002117/0.8613, allocations: 61.62 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.8613, allocations: 59.39 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.8614, allocations: 101.9 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.8614, allocations: 29.7 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.8615, allocations: 88.03 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.8615, allocations: 8 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/0.8615, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8616, allocations: 314.8 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.8617, allocations: 27.98 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.8618, allocations: 50.55 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.498e-05/0.8619, allocations: 53.7 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.8619, allocations: 3.953 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002251/0.8621, allocations: 147.2 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.8622, allocations: 37.69 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8622, allocations: 0 / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.8622, allocations: 0 / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-05/0.8622, allocations: 4 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.8622, allocations: 8.031 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.8625, allocations: 31.97 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.8625, allocations: 8.219 kB / 1.024 GB, free: 13.09 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 0.0001028/0.8626, allocations: 121.8 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.8626, allocations: 7.953 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.8627, allocations: 7.484 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.8627, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.8627, allocations: 4 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.8627, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.8628, allocations: 165.6 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.8629, allocations: 0 / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-06/0.8629, allocations: 8.203 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.8629, allocations: 4 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.8629, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.8629, allocations: 4 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8629, allocations: 7.938 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.863, allocations: 84.95 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.8631, allocations: 81.11 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.8631, allocations: 3.953 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.362e-05/0.8631, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.8632, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.8632, allocations: 4 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.529e-05/0.8632, allocations: 91.27 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8632, allocations: 0 / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002039/0.8634, allocations: 12 kB / 1.025 GB, free: 12.39 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.000159/0.8636, allocations: 103.2 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.8638, allocations: 123.3 kB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.8638, allocations: 0 / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/0.8639, allocations: 11.98 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.864, allocations: 12.19 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.8643, allocations: 122.6 kB / 1.025 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.8646, allocations: 0.6809 MB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.8647, allocations: 3.984 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.8647, allocations: 11.44 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8647, allocations: 0 / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of Templates: time 0.004033/0.8687, allocations: 0.9581 MB / 1.027 GB, free: 10.31 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches