Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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.001394/0.001394, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001474/0.001474, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.772/2.772, allocations: 476 MB / 0.7707 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] 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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") [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.00209/0.00209, allocations: 67.34 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2842, allocations: 169.9 MB / 1.284 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002832/0.287, allocations: 1.49 MB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008217/0.2879, allocations: 440.8 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.2879, allocations: 4 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.2879, allocations: 3.938 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.288, allocations: 11.92 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.2882, allocations: 23.91 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.919e-05/0.2883, allocations: 47.84 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2884, allocations: 15.94 kB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.174e-05/0.2884, allocations: 19.98 kB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.926e-05/0.2885, allocations: 19.86 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.2885, allocations: 8 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.2885, allocations: 7.938 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.2885, allocations: 11.97 kB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.2886, allocations: 19.92 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.2887, allocations: 43.77 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2887, allocations: 4 kB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2887, allocations: 0 / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.2887, allocations: 0 / 1.286 GB, free: 9.855 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006261/0.2893, allocations: 290.2 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2894, allocations: 8.031 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.2894, allocations: 12.89 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2895, allocations: 110.5 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.2895, allocations: 4.359 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.2896, allocations: 8.375 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.2897, allocations: 58 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2897, allocations: 0 / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2897, allocations: 0 / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2897, allocations: 0 / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.81e-05/0.2898, allocations: 39.91 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.2902, allocations: 232.4 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.2904, allocations: 54.59 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.2904, allocations: 20.95 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.2904, allocations: 3.984 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.2906, allocations: 71.39 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2906, allocations: 0 / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002316/0.2908, allocations: 105.8 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2909, allocations: 55.5 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.621e-05/0.2909, allocations: 113.7 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.291, allocations: 29.7 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.291, allocations: 92.03 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.291, allocations: 23.83 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.2911, allocations: 25.72 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2912, allocations: 330.7 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/0.2913, allocations: 12 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.2913, allocations: 43.42 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.2914, allocations: 75.53 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2914, allocations: 4 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000145/0.2916, allocations: 89.58 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2916, allocations: 10.48 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2916, allocations: 4 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2916, allocations: 0 / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.2917, allocations: 11.94 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2917, allocations: 0 / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.2918, allocations: 15.98 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2918, allocations: 0 / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001022/0.2919, allocations: 127.1 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.2919, allocations: 3.953 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.2919, allocations: 12.12 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2919, allocations: 4 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2919, allocations: 0 / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2919, allocations: 0 / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.2923, allocations: 310 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2923, allocations: 3.938 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.2923, allocations: 4 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2923, allocations: 0 / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.2923, allocations: 4 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.2923, allocations: 4 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2923, allocations: 0 / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.2925, allocations: 187.4 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.2925, allocations: 7.953 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.2926, allocations: 3.984 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.2926, allocations: 8 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.2927, allocations: 11.92 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.2927, allocations: 3.938 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.2927, allocations: 87.27 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2927, allocations: 4 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002322/0.293, allocations: 12 kB / 1.288 GB, free: 6.898 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 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.941e-05/0.2931, allocations: 99.48 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.2932, allocations: 51.91 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2932, allocations: 3.938 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.2933, allocations: 23.98 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.2935, allocations: 12.2 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.2939, allocations: 187.4 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.316e-05/0.294, allocations: 67.34 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.294, allocations: 19.38 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.294, allocations: 0 / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of Templates: time 0.002615/0.2966, allocations: 0.8794 MB / 1.29 GB, free: 5.512 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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: 10.545716302003711]