Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 190.2 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.228/3.228, allocations: 496 MB / 0.7835 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 68.33 kB / 1.138 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4938, allocations: 173.6 MB / 1.307 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.003116/0.4969, allocations: 0.7589 MB / 1.308 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.499, allocations: 1.159 MB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.635e-05/0.4991, allocations: 0 / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.4991, allocations: 3.938 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.4992, allocations: 19.84 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.4999, allocations: 123.1 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000271/0.5002, allocations: 119.8 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.5003, allocations: 15.98 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.5004, allocations: 51.89 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.5006, allocations: 43.89 kB / 1.31 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.5006, allocations: 8 kB / 1.31 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.5007, allocations: 31.92 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.5007, allocations: 19.91 kB / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.242e-05/0.5008, allocations: 39.8 kB / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.5011, allocations: 119.6 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5011, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5011, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.5011, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007611/0.5019, allocations: 335.8 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5019, allocations: 12.03 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.684e-05/0.502, allocations: 4.938 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.5021, allocations: 122.4 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5022, allocations: 4.375 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.5022, allocations: 4.375 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.5024, allocations: 70.16 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.5024, allocations: 192 / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.5024, allocations: 3.938 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5024, allocations: 4 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.5026, allocations: 43.95 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.5033, allocations: 299.8 kB / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.5035, allocations: 58.44 kB / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.5036, allocations: 37.02 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.5036, allocations: 4 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.5039, allocations: 87.42 kB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/0.5039, allocations: 0 / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0004844/0.5044, allocations: 149.5 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.5044, allocations: 51.41 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.5046, allocations: 121.8 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.5046, allocations: 37.64 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.5047, allocations: 92.09 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.5047, allocations: 19.83 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.797e-05/0.5048, allocations: 37.7 kB / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.505, allocations: 322.8 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.5052, allocations: 51.97 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.5054, allocations: 84.25 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.5057, allocations: 145.8 kB / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5057, allocations: 0 / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005035/0.5062, allocations: 215.2 kB / 1.312 GB, free: 12.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/0.5062, allocations: 37.69 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.5062, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.5063, allocations: 4 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5064, allocations: 15.92 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.5064, allocations: 0 / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.5066, allocations: 31.97 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.5066, allocations: 11.98 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001385/0.5067, allocations: 133.7 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.5068, allocations: 7.953 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.5068, allocations: 8.375 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5068, allocations: 0 / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.5068, allocations: 3.984 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5068, allocations: 0 / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/0.5074, allocations: 361.5 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5074, allocations: 0 / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.5074, allocations: 7.984 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5074, allocations: 0 / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.5075, allocations: 4 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5075, allocations: 0 / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5075, allocations: 0 / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.5078, allocations: 207.4 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.5078, allocations: 23.81 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.5078, allocations: 3.984 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.5079, allocations: 4 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.508, allocations: 7.984 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.508, allocations: 12 kB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.393e-05/0.5081, allocations: 95.27 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5081, allocations: 0 / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002725/0.5083, allocations: 24 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001897/0.5085, allocations: 106.3 kB / 1.313 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004137/0.5089, allocations: 163.2 kB / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5089, allocations: 0 / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.5091, allocations: 36.17 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.5094, allocations: 18.42 kB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.5098, allocations: 158.8 kB / 1.313 GB, free: 11.06 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.5102, allocations: 0.6885 MB / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.5102, allocations: 4 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.5102, allocations: 11.44 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/0.5102, allocations: 4 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of Templates: time 0.004997/0.5152, allocations: 1.484 MB / 1.316 GB, free: 8.855 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.775262026116252]