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.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.001781/0.001781, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002813/0.002813, allocations: 212.2 kB / 22.25 MB, free: 5.262 MB / 14.72 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.669/1.669, allocations: 230.6 MB / 256 MB, free: 7.797 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.988/2.988, allocations: 476 MB / 0.7699 GB, free: 4.781 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.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 68.38 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3828, allocations: 169.9 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002603/0.3854, allocations: 0.7379 MB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.3876, allocations: 1.172 MB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.3877, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.187e-05/0.3877, allocations: 3.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.3878, allocations: 7.938 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006524/0.3885, allocations: 136.1 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.3887, allocations: 123.8 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3888, allocations: 8 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.3889, allocations: 47.91 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.3891, allocations: 47.8 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.3891, allocations: 15.94 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/0.3892, allocations: 16 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.3892, allocations: 15.98 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/0.3893, allocations: 35.86 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.3896, allocations: 115.6 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3896, allocations: 0 / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3896, allocations: 0 / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3896, allocations: 4 kB / 1.285 GB, free: 9.527 MB / 0.9825 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.0007215/0.3903, allocations: 335.8 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3903, allocations: 12.03 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/0.3904, allocations: 8.891 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3905, allocations: 118.4 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3906, allocations: 4.375 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.3906, allocations: 12.36 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.3908, allocations: 62.22 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3908, allocations: 192 / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3909, allocations: 11.94 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3909, allocations: 0 / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.3911, allocations: 39.95 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.3917, allocations: 264.4 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.392, allocations: 58.59 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.3921, allocations: 28.91 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.3921, allocations: 4 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.3924, allocations: 95.3 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.923e-06/0.3924, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005062/0.3929, allocations: 137.6 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.393, allocations: 51.41 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3931, allocations: 129.7 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.3931, allocations: 33.7 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.3932, allocations: 92.2 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.3933, allocations: 23.83 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.702e-05/0.3933, allocations: 37.7 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3935, allocations: 318.8 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.3937, allocations: 77.67 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.394, allocations: 125.9 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.3943, allocations: 137.9 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3943, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005247/0.3948, allocations: 244.8 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.3948, allocations: 37.69 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3949, allocations: 4.125 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.3949, allocations: 4 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.395, allocations: 11.98 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.395, allocations: 7.938 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.3952, allocations: 39.98 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.3953, allocations: 7.984 kB / 1.288 GB, free: 6.754 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.0001214/0.3954, allocations: 125.7 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.3954, allocations: 8 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.3954, allocations: 8.375 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3954, allocations: 4 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3954, allocations: 0 / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3955, allocations: 3.984 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.396, allocations: 318.1 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.396, allocations: 0 / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.3961, allocations: 7.938 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3961, allocations: 4 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3961, allocations: 7.984 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3961, allocations: 0 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3961, allocations: 0 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.3965, allocations: 219.7 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.3965, allocations: 7.891 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3965, allocations: 4 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.3966, allocations: 7.984 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.3966, allocations: 7.984 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3967, allocations: 8 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.349e-05/0.3967, allocations: 91.77 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3967, allocations: 0 / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003514/0.3971, allocations: 23.98 kB / 1.289 GB, free: 5.848 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.0001678/0.3972, allocations: 107.2 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004329/0.3977, allocations: 192.9 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3977, allocations: 256 / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3978, allocations: 44.03 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.3981, allocations: 14.64 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.3986, allocations: 166.8 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.066e-05/0.3987, allocations: 79.27 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.503e-05/0.3987, allocations: 4 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.3988, allocations: 15.44 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3988, allocations: 0 / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.005229/0.404, allocations: 1.604 MB / 1.291 GB, free: 3.594 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.69471969269216]