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.001631/0.001631, allocations: 110 kB / 16.37 MB, free: 6.469 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.001752/0.001752, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.719/2.719, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 68.17 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3721, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001938/0.3741, allocations: 0.6142 MB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3755, allocations: 1.119 MB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.3755, allocations: 0 / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.3755, allocations: 4 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.3756, allocations: 7.922 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.3761, allocations: 126.2 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.3763, allocations: 87.89 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.3764, allocations: 4 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.3764, allocations: 35.97 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.448e-05/0.3765, allocations: 31.89 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.3766, allocations: 15.98 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.3767, allocations: 23.98 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.3767, allocations: 0 / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.3767, allocations: 31.89 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.3769, allocations: 79.8 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3769, allocations: 0 / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.286e-06/0.3769, allocations: 4 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3769, allocations: 0 / 1.029 GB, free: 15.85 MB / 0.8106 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.0004985/0.3774, allocations: 377.1 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3775, allocations: 16.02 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.3775, allocations: 12.84 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3777, allocations: 160.4 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.3777, allocations: 4.375 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.3777, allocations: 4.375 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.3778, allocations: 42.19 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.3779, allocations: 4.125 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3779, allocations: 3.938 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3779, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.3779, allocations: 11.98 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.3783, allocations: 284.9 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.719e-05/0.3784, allocations: 26.52 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.3784, allocations: 8.859 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.3784, allocations: 4 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.3786, allocations: 55.39 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3786, allocations: 4 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001885/0.3788, allocations: 65.59 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.3788, allocations: 59.33 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.3789, allocations: 105.9 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.3789, allocations: 25.7 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.379, allocations: 92.12 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.379, allocations: 3.906 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.3791, allocations: 29.7 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3792, allocations: 314.8 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.3793, allocations: 31.98 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.3794, allocations: 46.55 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3795, allocations: 88.19 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3795, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002318/0.3797, allocations: 147.3 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.3798, allocations: 37.7 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3798, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3798, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.74e-05/0.3798, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3798, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.38, allocations: 35.8 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.3801, allocations: 4 kB / 1.031 GB, free: 13.52 MB / 0.8106 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.916e-05/0.3801, allocations: 125.8 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.3802, allocations: 4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.3802, allocations: 3.5 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3802, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3802, allocations: 3.938 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3802, allocations: 7.922 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.3803, allocations: 165.6 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3803, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-06/0.3803, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.3804, allocations: 3.938 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3804, allocations: 8 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.3804, allocations: 4 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3804, allocations: 0 / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.691e-05/0.3805, allocations: 77.05 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.3805, allocations: 85.02 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.3805, allocations: 4.312 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.276e-05/0.3806, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.3806, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3806, allocations: 11.98 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.3807, allocations: 79.28 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3807, allocations: 4 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002022/0.3809, allocations: 16 kB / 1.031 GB, free: 12.82 MB / 0.8106 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.0001555/0.381, allocations: 103.2 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.3812, allocations: 119.3 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3813, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.3813, allocations: 16.19 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.3815, allocations: 15.92 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.3818, allocations: 118.1 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.382, allocations: 0.6807 MB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.652e-05/0.382, allocations: 0 / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.3821, allocations: 11.44 kB / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3821, allocations: 0 / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of Templates: time 0.003297/0.3854, allocations: 1.037 MB / 1.034 GB, free: 10.66 MB / 0.8106 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches