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.001342/0.001342, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001531/0.001531, allocations: 155.8 kB / 23.01 MB, free: 4.949 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.488/1.488, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.666/2.666, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 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.002103/0.002103, allocations: 63.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3108, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003083/0.3139, allocations: 1.489 MB / 1.119 GB, free: 1.059 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.3148, allocations: 450.9 kB / 1.119 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.3149, allocations: 0 / 1.119 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.3149, allocations: 7.938 kB / 1.119 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.975e-05/0.315, allocations: 15.92 kB / 1.119 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.3151, allocations: 15.97 kB / 1.119 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3152, allocations: 55.78 kB / 1.119 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3153, allocations: 8 kB / 1.119 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/0.3154, allocations: 19.98 kB / 1.119 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.967e-05/0.3155, allocations: 19.84 kB / 1.119 GB, free: 484 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3155, allocations: 8 kB / 1.119 GB, free: 476 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.3155, allocations: 4 kB / 1.119 GB, free: 472 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.3155, allocations: 11.98 kB / 1.119 GB, free: 460 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.3156, allocations: 19.92 kB / 1.119 GB, free: 440 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.3157, allocations: 43.77 kB / 1.12 GB, free: 396 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3157, allocations: 4 kB / 1.12 GB, free: 392 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3157, allocations: 0 / 1.12 GB, free: 392 kB / 1.061 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3157, allocations: 3.938 kB / 1.12 GB, free: 388 kB / 1.061 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.000594/0.3163, allocations: 286.2 kB / 1.12 GB, free: 72 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3163, allocations: 8.031 kB / 1.12 GB, free: 64 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.3164, allocations: 12.89 kB / 1.12 GB, free: 52 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.3165, allocations: 106.5 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3165, allocations: 4.375 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.3166, allocations: 8.375 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3167, allocations: 65.94 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3167, allocations: 0 / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3167, allocations: 3.984 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-06/0.3167, allocations: 0 / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.3168, allocations: 23.98 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.3173, allocations: 244.3 kB / 1.12 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.3174, allocations: 50.56 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.3175, allocations: 24.94 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.3175, allocations: 0 / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.3177, allocations: 75.42 kB / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.3177, allocations: 4 kB / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0002435/0.3179, allocations: 101.6 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.318, allocations: 55.41 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.318, allocations: 105.8 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3181, allocations: 29.64 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.3181, allocations: 96.41 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.3182, allocations: 27.83 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.3182, allocations: 25.72 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3184, allocations: 318.8 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.9e-05/0.3184, allocations: 27.94 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.924e-05/0.3185, allocations: 39.42 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.3186, allocations: 71.53 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3186, allocations: 4 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001606/0.3188, allocations: 97.55 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3188, allocations: 4 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3188, allocations: 0 / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3188, allocations: 4 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.3189, allocations: 12.06 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3189, allocations: 4.031 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.249e-05/0.319, allocations: 11.94 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.319, allocations: 8 kB / 1.121 GB, free: 14.26 MB / 1.076 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.0001136/0.3191, allocations: 131 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.3191, allocations: 0 / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.3191, allocations: 8.125 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3192, allocations: 4 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3192, allocations: 0 / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3192, allocations: 3.984 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.3196, allocations: 298.1 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3196, allocations: 0 / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.3196, allocations: 4 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3196, allocations: 0 / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3196, allocations: 7.984 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3196, allocations: 4 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3196, allocations: 3.938 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.3198, allocations: 179.4 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.3199, allocations: 11.94 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.3199, allocations: 0 / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.664e-05/0.32, allocations: 4.188 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.32, allocations: 15.98 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.32, allocations: 7.875 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.3201, allocations: 83.27 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3201, allocations: 0 / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002411/0.3203, allocations: 16 kB / 1.122 GB, free: 13.44 MB / 1.076 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 0.0001102/0.3204, allocations: 99.19 kB / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.3206, allocations: 56.23 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3206, allocations: 0 / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.3206, allocations: 20 kB / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.3209, allocations: 27.34 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.3213, allocations: 161.4 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.779e-05/0.3214, allocations: 71.28 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.956e-05/0.3215, allocations: 7.984 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.3215, allocations: 12.5 kB / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.3215, allocations: 0 / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of Templates: time 0.003804/0.3253, allocations: 0.8019 MB / 1.123 GB, free: 12.15 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.24014090897981]