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.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.0008696/0.0008696, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002135, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.0007317/0.0007317, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001761, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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 0.9968/0.9968, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09402/1.091, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.96/1.96, allocations: 378.4 MB / 0.6079 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5533/2.514, allocations: 123.3 MB / 0.7283 GB, free: 5.684 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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 1.764e-06/1.764e-06, allocations: 0 / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.961e-05, allocations: 3.531 kB / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001383/0.001403, allocations: 0.7956 MB / 0.7304 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.002443, allocations: 1.201 MB / 0.7316 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.002484, allocations: 4 kB / 0.7316 GB, free: 2.379 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.002507, allocations: 3.938 kB / 0.7316 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.002547, allocations: 8.266 kB / 0.7316 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.00286, allocations: 137.6 kB / 0.7318 GB, free: 2.238 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.00301, allocations: 116.2 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.785e-05/0.003078, allocations: 9 kB / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.003195, allocations: 74.98 kB / 0.7319 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.003273, allocations: 38.45 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.003294, allocations: 12.78 kB / 0.732 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.003367, allocations: 23.92 kB / 0.732 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.00339, allocations: 18.25 kB / 0.732 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.003426, allocations: 24 kB / 0.7321 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.003555, allocations: 76.7 kB / 0.7321 GB, free: 1.875 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.003566, allocations: 0 / 0.7321 GB, free: 1.875 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003567, allocations: 0.8125 kB / 0.7321 GB, free: 1.875 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.003577, allocations: 0 / 0.7321 GB, free: 1.875 MB / 0.698 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.0004336/0.004011, allocations: 319.5 kB / 0.7324 GB, free: 1.531 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.004043, allocations: 8.031 kB / 0.7324 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.004082, allocations: 12.92 kB / 0.7325 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.714e-05/0.004169, allocations: 117.7 kB / 0.7326 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.004181, allocations: 4.906 kB / 0.7326 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.0042, allocations: 9.781 kB / 0.7326 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.004309, allocations: 62.92 kB / 0.7326 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.004316, allocations: 8.109 kB / 0.7327 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.004324, allocations: 4.375 kB / 0.7327 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004329, allocations: 5.5 kB / 0.7327 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.004354, allocations: 7.938 kB / 0.7327 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.004617, allocations: 184.7 kB / 0.7328 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.146e-05/0.004689, allocations: 28.17 kB / 0.7329 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.004708, allocations: 20.91 kB / 0.7329 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.004714, allocations: 128 / 0.7329 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.11e-05/0.004805, allocations: 71.97 kB / 0.733 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.004806, allocations: 1.312 kB / 0.733 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.000124/0.00493, allocations: 73.59 kB / 0.733 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.004962, allocations: 55.41 kB / 0.7331 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.816e-05/0.00502, allocations: 118.6 kB / 0.7332 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.005041, allocations: 35.25 kB / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.005127, allocations: 92.12 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.005144, allocations: 19.83 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.00519, allocations: 33.69 kB / 0.7334 GB, free: 476 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.005258, allocations: 320.2 kB / 0.7337 GB, free: 148 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/0.005308, allocations: 53.69 kB / 0.7337 GB, free: 88 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/0.005378, allocations: 93.89 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.887e-05/0.005457, allocations: 107.7 kB / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005459, allocations: 0 / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001364/0.005596, allocations: 171.1 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.005629, allocations: 37.69 kB / 0.7341 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.005635, allocations: 4 kB / 0.7341 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.005645, allocations: 3.938 kB / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.00571, allocations: 8.844 kB / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.005714, allocations: 7.938 kB / 0.7341 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.49e-05/0.005799, allocations: 33.45 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.005811, allocations: 4 kB / 0.7342 GB, free: 15.56 MB / 0.7136 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 6.255e-05/0.005873, allocations: 121.1 kB / 0.7343 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.005885, allocations: 11.98 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.005909, allocations: 9.656 kB / 0.7343 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.005911, allocations: 3.938 kB / 0.7343 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.005913, allocations: 0 / 0.7343 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.005916, allocations: 1.594 kB / 0.7343 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.006094, allocations: 222.8 kB / 0.7345 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006096, allocations: 0 / 0.7345 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.006128, allocations: 15.92 kB / 0.7345 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-06/0.006137, allocations: 12.55 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006139, allocations: 0 / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.006144, allocations: 0.75 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.006145, allocations: 0 / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006146, allocations: 1.141 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.704e-05/0.006223, allocations: 159.5 kB / 0.7347 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.006239, allocations: 13.94 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.64e-05/0.006275, allocations: 3.984 kB / 0.7347 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.006303, allocations: 4 kB / 0.7347 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.006309, allocations: 3.984 kB / 0.7347 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.544e-05/0.006324, allocations: 17.41 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006324, allocations: 1.344 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001379/0.006462, allocations: 23.94 kB / 0.7348 GB, free: 14.9 MB / 0.7136 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.0001019/0.006564, allocations: 89.98 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.006705, allocations: 157.1 kB / 0.735 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.00671, allocations: 4 kB / 0.735 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.006743, allocations: 20.8 kB / 0.735 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.006913, allocations: 103.8 kB / 0.7351 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.007331, allocations: 172.8 kB / 0.7353 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.158e-05/0.007363, allocations: 62.33 kB / 0.7354 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.007386, allocations: 7.984 kB / 0.7354 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.007458, allocations: 71.36 kB / 0.7354 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of SimCode: time 6.72e-07/0.007459, allocations: 0 / 0.7354 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.003363/0.01082, allocations: 1.665 MB / 0.7371 GB, free: 12.56 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.110036606900394]