Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 163 kB / 24.86 MB, free: 9.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.916/1.916, allocations: 377.9 MB / 0.6247 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.143e-05, allocations: 4.219 kB / 0.8128 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001484/0.001506, allocations: 0.6184 MB / 0.8134 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004263/0.005769, allocations: 1.163 MB / 0.8145 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.005806, allocations: 0 / 0.8145 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.00583, allocations: 1.406 kB / 0.8145 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.997e-05/0.0059, allocations: 11.86 kB / 0.8145 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.006294, allocations: 120.3 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.006442, allocations: 84.8 kB / 0.8147 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.006516, allocations: 4 kB / 0.8147 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.006606, allocations: 55.81 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.006698, allocations: 20.62 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.006719, allocations: 8.875 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.051e-05/0.006779, allocations: 23.98 kB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.006798, allocations: 3.984 kB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.006838, allocations: 33.17 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.006971, allocations: 67.83 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.006973, allocations: 0 / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006974, allocations: 1.688 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.006979, allocations: 4 kB / 0.8149 GB, free: 15.2 MB / 0.7761 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.0003579/0.007337, allocations: 394.3 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.007371, allocations: 12.03 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.007408, allocations: 6.219 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.715e-05/0.007485, allocations: 116.5 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.007498, allocations: 4.375 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.007514, allocations: 8.359 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.14e-05/0.007575, allocations: 35.8 kB / 0.8155 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.007583, allocations: 192 / 0.8155 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.007591, allocations: 8.359 kB / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.007596, allocations: 384 / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.611e-05/0.007612, allocations: 12.67 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.007851, allocations: 264.3 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.814e-05/0.007889, allocations: 27.97 kB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.104e-05/0.007901, allocations: 11.67 kB / 0.8158 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-06/0.007903, allocations: 0.625 kB / 0.8158 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.668e-05/0.00798, allocations: 67.08 kB / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.007981, allocations: 0 / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.00316/0.01114, allocations: 61.55 kB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.01117, allocations: 51.41 kB / 0.816 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.16e-05/0.01125, allocations: 161.9 kB / 0.8161 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.01126, allocations: 29.7 kB / 0.8162 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.01131, allocations: 139.4 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.01132, allocations: 0.7188 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.01138, allocations: 39.34 kB / 0.8163 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.01149, allocations: 493.3 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.413e-05/0.01155, allocations: 53.67 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.025e-05/0.01161, allocations: 76.75 kB / 0.8169 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.43e-05/0.01168, allocations: 86.42 kB / 0.817 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01168, allocations: 0 / 0.817 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001863/0.01187, allocations: 169.8 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.0119, allocations: 33.7 kB / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.0119, allocations: 3.938 kB / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.01191, allocations: 0.5625 kB / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.391e-05/0.01193, allocations: 5.125 kB / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.01193, allocations: 0 / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.01205, allocations: 29.72 kB / 0.8172 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.01207, allocations: 4 kB / 0.8172 GB, free: 12.59 MB / 0.7761 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 7.294e-05/0.01214, allocations: 156.6 kB / 0.8174 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.01215, allocations: 4.312 kB / 0.8174 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/0.01217, allocations: 12.42 kB / 0.8174 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01217, allocations: 0 / 0.8174 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.01217, allocations: 8 kB / 0.8174 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01218, allocations: 0.9375 kB / 0.8174 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.437e-05/0.01225, allocations: 97.27 kB / 0.8175 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.01225, allocations: 1.344 kB / 0.8175 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-06/0.01226, allocations: 7.922 kB / 0.8175 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.01226, allocations: 0 / 0.8175 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-06/0.01226, allocations: 0 / 0.8175 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01226, allocations: 4.875 kB / 0.8175 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.01227, allocations: 3.938 kB / 0.8175 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.07e-05/0.01235, allocations: 98.72 kB / 0.8176 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.01235, allocations: 4 kB / 0.8176 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.01236, allocations: 3.984 kB / 0.8176 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-06/0.01237, allocations: 0 / 0.8176 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.0124, allocations: 3.938 kB / 0.8176 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.0124, allocations: 4 kB / 0.8176 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.01244, allocations: 119.7 kB / 0.8178 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01244, allocations: 7.438 kB / 0.8178 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001991/0.01263, allocations: 23.92 kB / 0.8178 GB, free: 11.98 MB / 0.7761 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.0001075/0.01274, allocations: 95.25 kB / 0.8179 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.01306, allocations: 140.7 kB / 0.818 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-06/0.01306, allocations: 0 / 0.818 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.01308, allocations: 11.69 kB / 0.818 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.01325, allocations: 16.42 kB / 0.818 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.01346, allocations: 125.6 kB / 0.8182 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.01349, allocations: 59.75 kB / 0.8182 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.473e-05/0.0135, allocations: 0.5625 kB / 0.8182 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.01358, allocations: 95.58 kB / 0.8183 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01358, allocations: 0 / 0.8183 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of Templates: time 0.007457/0.02104, allocations: 1.283 MB / 0.8196 GB, free: 10.14 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.138490557670593]