Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002042/0.002042, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002574/0.002574, allocations: 188.3 kB / 22.22 MB, free: 5.105 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.663/1.663, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.867/2.867, allocations: 476.7 MB / 0.7646 GB, free: 9.902 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.91 kB / 1.11 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.098, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002085/1.1, allocations: 0.7523 MB / 1.275 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001722/1.102, allocations: 1.16 MB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/1.102, allocations: 3.938 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/1.102, allocations: 3.938 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.202e-05/1.102, allocations: 11.92 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/1.103, allocations: 128.2 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002197/1.103, allocations: 119.8 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/1.103, allocations: 15.98 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/1.103, allocations: 55.83 kB / 1.277 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/1.103, allocations: 39.89 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/1.103, allocations: 12 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-05/1.103, allocations: 27.92 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/1.103, allocations: 19.91 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/1.103, allocations: 39.86 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/1.104, allocations: 114 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.104, allocations: 4 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/1.104, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.24e-06/1.104, allocations: 4 kB / 1.277 GB, free: 1.711 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.0006255/1.104, allocations: 331.8 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/1.104, allocations: 12.03 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/1.104, allocations: 4.938 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/1.105, allocations: 122.4 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/1.105, allocations: 8.375 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/1.105, allocations: 8.375 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/1.105, allocations: 66.2 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.105, allocations: 4.188 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/1.105, allocations: 3.938 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/1.105, allocations: 4 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/1.105, allocations: 39.95 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/1.106, allocations: 303.8 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/1.106, allocations: 62.55 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/1.106, allocations: 24.97 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/1.106, allocations: 0 / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/1.106, allocations: 99.36 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/1.106, allocations: 4 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004388/1.106, allocations: 133.6 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/1.107, allocations: 59.34 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/1.107, allocations: 125.8 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/1.107, allocations: 33.7 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/1.107, allocations: 88.14 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/1.107, allocations: 31.78 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.849e-05/1.107, allocations: 29.7 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.107, allocations: 322.8 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/1.107, allocations: 51.97 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/1.107, allocations: 88.19 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/1.108, allocations: 145.8 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.108, allocations: 4 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004706/1.108, allocations: 207.2 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/1.108, allocations: 37.69 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.108, allocations: 4 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.108, allocations: 3.938 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.247e-05/1.108, allocations: 11.98 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.108, allocations: 4 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/1.109, allocations: 40.03 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/1.109, allocations: 7.984 kB / 1.279 GB, free: 14.99 MB / 0.9825 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.0001144/1.109, allocations: 124.2 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/1.109, allocations: 11.95 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/1.109, allocations: 12.38 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.109, allocations: 3.984 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.109, allocations: 0 / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/1.109, allocations: 4 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/1.109, allocations: 349.5 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.109, allocations: 3.984 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/1.109, allocations: 15.92 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.109, allocations: 7.938 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/1.109, allocations: 0 / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.109, allocations: 0 / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.109, allocations: 0 / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/1.11, allocations: 203.8 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/1.11, allocations: 7.953 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/1.11, allocations: 7.984 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/1.11, allocations: 4 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/1.11, allocations: 7.984 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/1.11, allocations: 7.938 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001283/1.11, allocations: 99.27 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.11, allocations: 0 / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002669/1.11, allocations: 20 kB / 1.28 GB, free: 14.04 MB / 0.9825 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.0001786/1.111, allocations: 107.2 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004011/1.111, allocations: 171.3 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.111, allocations: 256 / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/1.111, allocations: 31.98 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/1.111, allocations: 17.86 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004184/1.112, allocations: 162.7 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/1.112, allocations: 0.6885 MB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.273e-05/1.112, allocations: 8 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/1.112, allocations: 15.38 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/1.112, allocations: 0 / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.005028/1.117, allocations: 1.466 MB / 1.283 GB, free: 11.31 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.792748186737299]