Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001599/0.001599, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001648/0.001648, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.485/1.485, allocations: 225.6 MB / 249.4 MB, free: 3.027 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5763 GB " [Timeout remaining time 177] 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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.88 kB / 1.059 GB, free: 344 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3932, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002587/0.3958, allocations: 0.7532 MB / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3974, allocations: 1.164 MB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.3975, allocations: 0 / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.3975, allocations: 7.875 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.782e-05/0.3976, allocations: 11.92 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.3981, allocations: 131.7 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.3982, allocations: 119.7 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.3983, allocations: 12 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.3984, allocations: 51.84 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3985, allocations: 47.86 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.3986, allocations: 8 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.069e-05/0.3986, allocations: 27.98 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.3987, allocations: 11.92 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.3987, allocations: 39.84 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3989, allocations: 111.7 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3989, allocations: 3.938 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3989, allocations: 3.938 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.3989, allocations: 0 / 1.219 GB, free: 12.79 MB / 0.9669 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.0006655/0.3996, allocations: 416.9 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3996, allocations: 8.031 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.3997, allocations: 12.89 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3999, allocations: 176.2 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3999, allocations: 8.359 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.4, allocations: 8.375 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.4002, allocations: 58.23 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4002, allocations: 4.188 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.4002, allocations: 11.92 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4002, allocations: 0 / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.4004, allocations: 35.97 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.4009, allocations: 332.7 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.4011, allocations: 66.55 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.4012, allocations: 32.95 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.4012, allocations: 0 / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.4015, allocations: 91.28 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 3.287e-06/0.4015, allocations: 7.984 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004477/0.4019, allocations: 141.6 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.402, allocations: 55.41 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4021, allocations: 113.8 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.4021, allocations: 29.7 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.4022, allocations: 92.12 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.4022, allocations: 19.86 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.4023, allocations: 45.69 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4024, allocations: 314.8 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.4026, allocations: 55.89 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.4028, allocations: 92.38 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.4031, allocations: 145.8 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4031, allocations: 0 / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004518/0.4035, allocations: 211.2 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.4036, allocations: 39.89 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4036, allocations: 0 / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4036, allocations: 0 / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.4037, allocations: 15.92 kB / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4037, allocations: 4 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.4039, allocations: 36.02 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.4039, allocations: 12 kB / 1.221 GB, free: 9.879 MB / 0.9669 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.0001105/0.404, allocations: 127.7 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.404, allocations: 7.953 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.4041, allocations: 8.375 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4041, allocations: 7.938 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4041, allocations: 0 / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4041, allocations: 3.938 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.4046, allocations: 374.5 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4046, allocations: 0 / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.4046, allocations: 11.98 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4046, allocations: 64 / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.4047, allocations: 4 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4047, allocations: 3.938 kB / 1.222 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4047, allocations: 0 / 1.222 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.405, allocations: 223.4 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.405, allocations: 81.06 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.4051, allocations: 0 / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.4051, allocations: 11.98 kB / 1.222 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.4052, allocations: 7.984 kB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.4052, allocations: 7.938 kB / 1.222 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.4053, allocations: 99.25 kB / 1.222 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.4053, allocations: 4 kB / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002652/0.4055, allocations: 27.94 kB / 1.222 GB, free: 8.789 MB / 0.9669 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.0001761/0.4057, allocations: 103.2 kB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.4061, allocations: 163.3 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4061, allocations: 0 / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.4062, allocations: 40.69 kB / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.4065, allocations: 11.98 kB / 1.222 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.4069, allocations: 174.7 kB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.4073, allocations: 0.6846 MB / 1.223 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.4073, allocations: 11.98 kB / 1.223 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.4074, allocations: 15.44 kB / 1.223 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.4074, allocations: 0 / 1.223 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of Templates: time 0.004391/0.4118, allocations: 1.456 MB / 1.225 GB, free: 6.07 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.438679572194815]