Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.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.001544/0.001544, 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.002008/0.002008, allocations: 210 kB / 22.24 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.206/3.206, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep") [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.002056/0.002056, allocations: 72.58 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4255, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002989/0.4285, allocations: 0.5903 MB / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004152/0.4289, allocations: 48.2 kB / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.4289, allocations: 0 / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.429, allocations: 0 / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.429, allocations: 0 / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.4293, allocations: 15.92 kB / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.849e-05/0.4293, allocations: 7.984 kB / 1.326 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.249e-05/0.4294, allocations: 11.98 kB / 1.326 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.738e-05/0.4294, allocations: 0 / 1.326 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.437e-05/0.4294, allocations: 4 kB / 1.326 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.4295, allocations: 0 / 1.326 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.4296, allocations: 19.97 kB / 1.326 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.4296, allocations: 3.938 kB / 1.326 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.606e-05/0.4296, allocations: 4 kB / 1.326 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.4297, allocations: 15.97 kB / 1.326 GB, free: 1.121 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4297, allocations: 0 / 1.326 GB, free: 1.121 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4297, allocations: 0 / 1.326 GB, free: 1.121 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.4297, allocations: 0 / 1.326 GB, free: 1.121 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003942/0.4301, allocations: 251.4 kB / 1.326 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4302, allocations: 8.031 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003569/0.4305, allocations: 16.91 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.4307, allocations: 102.5 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.4307, allocations: 8.375 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.4307, allocations: 384 / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.4309, allocations: 38.25 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4309, allocations: 192 / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.4309, allocations: 11.88 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.4309, allocations: 3.938 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.4311, allocations: 11.98 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.4312, allocations: 93.33 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.4314, allocations: 22.59 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.701e-05/0.4315, allocations: 8.922 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.4315, allocations: 0 / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.4316, allocations: 38.55 kB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.4316, allocations: 4 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0003798/0.4319, allocations: 49.56 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.432, allocations: 51.41 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.4321, allocations: 89.86 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.4321, allocations: 29.7 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.4321, allocations: 84.08 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.4322, allocations: 3.953 kB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.4322, allocations: 17.7 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002258/0.4325, allocations: 315 kB / 1.327 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.622e-05/0.4325, allocations: 4 kB / 1.327 GB, free: 15.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.918e-05/0.4326, allocations: 7.984 kB / 1.327 GB, free: 15.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.4328, allocations: 20.78 kB / 1.327 GB, free: 15.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4328, allocations: 0 / 1.327 GB, free: 15.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002033/0.433, allocations: 37.69 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.433, allocations: 8 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.433, allocations: 4.094 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.433, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.4331, allocations: 11.92 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4331, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.4332, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.4332, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001093/0.4333, allocations: 114.4 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.4333, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.4334, allocations: 3 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4334, allocations: 7.938 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4334, allocations: 3.984 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4334, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.4335, allocations: 97.33 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4335, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.4336, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4336, allocations: 4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4336, allocations: 3.938 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.4336, allocations: 3.984 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4336, allocations: 3.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.4338, allocations: 69.12 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.4338, allocations: 7.875 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.4339, allocations: 4 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.98e-05/0.4339, allocations: 7.984 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.4339, allocations: 3.938 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.4339, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.772e-05/0.434, allocations: 75.28 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.434, allocations: 3.938 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003328/0.4343, allocations: 0 / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001624/0.4345, allocations: 101.8 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.4347, allocations: 19.92 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4347, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.4348, allocations: 7.984 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.435, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.4354, allocations: 84.86 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.388e-05/0.4355, allocations: 55.48 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.156e-05/0.4355, allocations: 7.984 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.4356, allocations: 7.438 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.4356, allocations: 0 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of Templates: time 0.003198/0.4388, allocations: 228 kB / 1.328 GB, free: 14.6 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.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.806034257635474]