Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001772/0.001772, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002161/0.002161, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.493/1.493, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.779/2.779, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 3.938 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.211e-05/4.436e-05, allocations: 5.547 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002559/0.002603, allocations: 0.5939 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003532/0.002957, allocations: 47.8 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.002983, allocations: 0 / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.002997, allocations: 1.844 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.324e-06/0.003004, allocations: 0 / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.003298, allocations: 19.86 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.042e-05/0.003339, allocations: 0 / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.003386, allocations: 4.75 kB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.127e-05/0.003417, allocations: 3.984 kB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.962e-05/0.003447, allocations: 0.75 kB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.00346, allocations: 0 / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.003612, allocations: 25.25 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.003623, allocations: 0 / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.003645, allocations: 0 / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.003774, allocations: 23.97 kB / 0.7871 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.003777, allocations: 1.406 kB / 0.7871 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003778, allocations: 0 / 0.7871 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.003782, allocations: 0 / 0.7871 GB, free: 12.03 MB / 0.7448 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.0004134/0.004196, allocations: 235.5 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.004245, allocations: 8.031 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.004652, allocations: 22.38 kB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.004811, allocations: 109.7 kB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.004825, allocations: 384 / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.004842, allocations: 5.969 kB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.005026, allocations: 38.25 kB / 0.7875 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.005037, allocations: 192 / 0.7875 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.005047, allocations: 384 / 0.7875 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.005052, allocations: 2.062 kB / 0.7875 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.005219, allocations: 11.92 kB / 0.7875 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.005422, allocations: 97.33 kB / 0.7876 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.005558, allocations: 25.11 kB / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.005667, allocations: 12.91 kB / 0.7877 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.005694, allocations: 3.984 kB / 0.7877 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.005742, allocations: 38.5 kB / 0.7877 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.512e-06/0.005743, allocations: 0 / 0.7877 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0004201/0.006163, allocations: 47.95 kB / 0.7878 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.006227, allocations: 51.41 kB / 0.7878 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.006311, allocations: 93.8 kB / 0.7879 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.006342, allocations: 25.7 kB / 0.7879 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.006411, allocations: 85.3 kB / 0.788 GB, free: 11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.00644, allocations: 0 / 0.788 GB, free: 11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.006498, allocations: 13.72 kB / 0.788 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002595/0.006757, allocations: 314.8 kB / 0.7883 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.006841, allocations: 9.359 kB / 0.7883 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.006918, allocations: 4 kB / 0.7883 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.007107, allocations: 18.59 kB / 0.7884 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.007116, allocations: 4 kB / 0.7884 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002519/0.007367, allocations: 42.23 kB / 0.7884 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.007392, allocations: 8.969 kB / 0.7884 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.007398, allocations: 0 / 0.7884 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.007418, allocations: 5.875 kB / 0.7884 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.979e-05/0.007518, allocations: 0 / 0.7884 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.007524, allocations: 4 kB / 0.7884 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.007594, allocations: 7.922 kB / 0.7884 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.007601, allocations: 0 / 0.7884 GB, free: 10.55 MB / 0.7448 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.0001335/0.007734, allocations: 115.9 kB / 0.7885 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.00775, allocations: 0 / 0.7885 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.007785, allocations: 3 kB / 0.7885 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.007787, allocations: 0 / 0.7885 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.007792, allocations: 0.5 kB / 0.7885 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.007794, allocations: 0 / 0.7885 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.007949, allocations: 105.8 kB / 0.7886 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.007955, allocations: 4.703 kB / 0.7886 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.008021, allocations: 0 / 0.7886 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.00803, allocations: 4.531 kB / 0.7886 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.008037, allocations: 1.531 kB / 0.7886 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008039, allocations: 0 / 0.7886 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.00804, allocations: 0 / 0.7886 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.00834, allocations: 77.52 kB / 0.7887 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.008354, allocations: 9.203 kB / 0.7887 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.008369, allocations: 0 / 0.7887 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.517e-05/0.008434, allocations: 4 kB / 0.7887 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.00845, allocations: 0 / 0.7887 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.008455, allocations: 0.9062 kB / 0.7887 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.008518, allocations: 75.28 kB / 0.7888 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.008518, allocations: 0.8438 kB / 0.7888 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003429/0.008861, allocations: 0 / 0.7888 GB, free: 10.11 MB / 0.7448 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.000186/0.009047, allocations: 104.5 kB / 0.7889 GB, free: 10 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.009282, allocations: 12.48 kB / 0.7889 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.009284, allocations: 0.6875 kB / 0.7889 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.009377, allocations: 9.75 kB / 0.7889 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.009611, allocations: 7.938 kB / 0.7889 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.01001, allocations: 78.33 kB / 0.789 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.798e-05/0.0101, allocations: 59.34 kB / 0.7891 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.612e-05/0.01014, allocations: 4.344 kB / 0.7891 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.01019, allocations: 8.5 kB / 0.7891 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.01019, allocations: 0 / 0.7891 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of Templates: time 0.003686/0.01387, allocations: 257.4 kB / 0.7893 GB, free: 9.535 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.552624142961577]