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.00258/0.00258, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.003096/0.003096, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.523/1.523, allocations: 177.2 MB / 203.9 MB, free: 5.305 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.852/2.852, allocations: 359 MB / 0.6048 GB, free: 10.94 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 1.793e-06/1.793e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/2.987e-05, allocations: 4.844 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.00284/0.00287, allocations: 0.5862 MB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000348/0.003218, allocations: 52.58 kB / 0.7871 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.003237, allocations: 0 / 0.7871 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.00325, allocations: 4.906 kB / 0.7871 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-06/0.003256, allocations: 0 / 0.7871 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.003555, allocations: 20.48 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.893e-05/0.003594, allocations: 0 / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.003636, allocations: 0.8438 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.692e-05/0.003673, allocations: 4 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.792e-05/0.003701, allocations: 0.75 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.003714, allocations: 0 / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.003852, allocations: 21.22 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.00387, allocations: 4 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.606e-05/0.003886, allocations: 0 / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.004003, allocations: 17.5 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.004006, allocations: 0 / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004007, allocations: 4 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.227e-06/0.004011, allocations: 0 / 0.7871 GB, free: 12.07 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.000547/0.004558, allocations: 341.6 kB / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.004609, allocations: 8.031 kB / 0.7875 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.004963, allocations: 21.53 kB / 0.7875 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.005097, allocations: 104.6 kB / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.005112, allocations: 1.781 kB / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.005122, allocations: 4.375 kB / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.005276, allocations: 38.19 kB / 0.7876 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.005287, allocations: 1.062 kB / 0.7876 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.005298, allocations: 384 / 0.7876 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.005303, allocations: 384 / 0.7876 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.005413, allocations: 12.41 kB / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.005624, allocations: 109.4 kB / 0.7877 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.005767, allocations: 35.08 kB / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.547e-05/0.005842, allocations: 12.69 kB / 0.7878 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.005867, allocations: 3.938 kB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.00592, allocations: 34.02 kB / 0.7878 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.005921, allocations: 1.656 kB / 0.7878 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0003353/0.006257, allocations: 37.69 kB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.006325, allocations: 51.41 kB / 0.7879 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.006453, allocations: 151.5 kB / 0.7881 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.006484, allocations: 25.7 kB / 0.7881 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.00658, allocations: 126.9 kB / 0.7882 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.006611, allocations: 0 / 0.7882 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.006682, allocations: 24.95 kB / 0.7882 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003903/0.007073, allocations: 496.1 kB / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.421e-05/0.007127, allocations: 0 / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.007181, allocations: 9.062 kB / 0.7887 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.007314, allocations: 19.67 kB / 0.7887 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.007317, allocations: 3.125 kB / 0.7887 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001952/0.007512, allocations: 33.7 kB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.007531, allocations: 4 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.007541, allocations: 4 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.007557, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.439e-05/0.007641, allocations: 3.984 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.007647, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.007704, allocations: 7.938 kB / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.007712, allocations: 0.7188 kB / 0.7888 GB, free: 10.19 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.0001719/0.007884, allocations: 157.1 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.007899, allocations: 0.5312 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.00795, allocations: 8.188 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.007952, allocations: 0 / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.007961, allocations: 3.984 kB / 0.7889 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.007964, allocations: 0.5312 kB / 0.7889 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.008186, allocations: 112.6 kB / 0.7891 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.008188, allocations: 1.375 kB / 0.7891 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.008248, allocations: 4 kB / 0.7891 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.008251, allocations: 3.938 kB / 0.7891 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.008259, allocations: 1.156 kB / 0.7891 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.008261, allocations: 0 / 0.7891 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.008268, allocations: 3.984 kB / 0.7891 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.008509, allocations: 81.33 kB / 0.7891 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.008525, allocations: 7.938 kB / 0.7892 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.00854, allocations: 1.719 kB / 0.7892 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.008591, allocations: 4 kB / 0.7892 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.008616, allocations: 3.938 kB / 0.7892 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.008625, allocations: 4 kB / 0.7892 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.873e-05/0.008714, allocations: 119.8 kB / 0.7893 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/0.008714, allocations: 0.5 kB / 0.7893 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003553/0.00907, allocations: 7.438 kB / 0.7893 GB, free: 9.613 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.0001691/0.009239, allocations: 99.19 kB / 0.7894 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.009428, allocations: 15.67 kB / 0.7894 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.00943, allocations: 4 kB / 0.7894 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.009505, allocations: 7.688 kB / 0.7894 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.009742, allocations: 4.531 kB / 0.7894 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.0101, allocations: 88.48 kB / 0.7895 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.845e-05/0.01018, allocations: 55.36 kB / 0.7895 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.704e-05/0.01023, allocations: 6.469 kB / 0.7896 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.01026, allocations: 8.5 kB / 0.7896 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01026, allocations: 0.625 kB / 0.7896 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.004186/0.01445, allocations: 253.4 kB / 0.7898 GB, free: 9.023 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] 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.853107978007756]