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.001923/0.001923, allocations: 109 kB / 16.41 MB, free: 6.449 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.001921/0.001921, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.663/1.663, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.827/2.827, allocations: 437.1 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.89 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162/1.164, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001902/1.166, allocations: 0.6176 MB / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001589/1.167, allocations: 1.119 MB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/1.167, allocations: 0 / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/1.167, allocations: 3.938 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.585e-05/1.168, allocations: 3.984 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/1.168, allocations: 122.8 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/1.168, allocations: 95.83 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/1.168, allocations: 4 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/1.168, allocations: 35.91 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/1.169, allocations: 27.95 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/1.169, allocations: 8 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.279e-05/1.169, allocations: 27.92 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/1.169, allocations: 11.98 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/1.169, allocations: 31.91 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/1.169, allocations: 71.86 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.169, allocations: 7.938 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.663e-06/1.169, allocations: 0 / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.112e-06/1.169, allocations: 0 / 1.169 GB, free: 1.695 MB / 0.8887 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.0005368/1.169, allocations: 377.6 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.17, allocations: 8.922 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/1.17, allocations: 8.891 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/1.17, allocations: 164.4 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/1.17, allocations: 8.312 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/1.17, allocations: 8.375 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/1.17, allocations: 38.25 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/1.17, allocations: 192 / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/1.17, allocations: 3.938 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.17, allocations: 4 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/1.17, allocations: 11.98 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/1.17, allocations: 288.8 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/1.17, allocations: 30.45 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/1.17, allocations: 8.859 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-06/1.171, allocations: 0 / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/1.171, allocations: 59.45 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.171, allocations: 0 / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002021/1.171, allocations: 65.56 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/1.171, allocations: 59.39 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.208e-05/1.171, allocations: 109.8 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/1.171, allocations: 29.7 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/1.171, allocations: 84.12 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/1.171, allocations: 7.953 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/1.171, allocations: 33.7 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.171, allocations: 310.8 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.887e-05/1.171, allocations: 27.98 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.37e-05/1.172, allocations: 54.55 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/1.172, allocations: 88.12 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.172, allocations: 0 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000256/1.172, allocations: 143.3 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/1.172, allocations: 40.3 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.172, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.172, allocations: 4.094 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.523e-05/1.172, allocations: 4 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.172, allocations: 4 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/1.172, allocations: 31.91 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/1.172, allocations: 4 kB / 1.171 GB, free: 15.36 MB / 0.9044 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.0001075/1.172, allocations: 121.7 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-06/1.172, allocations: 0 / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/1.173, allocations: 11.5 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.173, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.173, allocations: 3.984 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.173, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/1.173, allocations: 161.6 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.173, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-06/1.173, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/1.173, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/1.173, allocations: 320 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/1.173, allocations: 4 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/1.173, allocations: 0 / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/1.173, allocations: 89.05 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/1.173, allocations: 81.06 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/1.173, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.332e-05/1.173, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/1.173, allocations: 4 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/1.173, allocations: 11.92 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.691e-05/1.173, allocations: 79.28 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.173, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002076/1.173, allocations: 20 kB / 1.172 GB, free: 14.68 MB / 0.9044 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.0001761/1.173, allocations: 111.2 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000243/1.174, allocations: 115.4 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.174, allocations: 3.938 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.294e-05/1.174, allocations: 11.94 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/1.174, allocations: 15.92 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/1.174, allocations: 118.2 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/1.175, allocations: 0.681 MB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.871e-05/1.175, allocations: 4 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/1.175, allocations: 7.438 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/1.175, allocations: 4 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of Templates: time 0.003878/1.179, allocations: 1.053 MB / 1.174 GB, free: 12.5 MB / 0.9044 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 cvode -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