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.001845/0.001845, allocations: 83.97 kB / 19.18 MB, free: 2.523 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.002203/0.002203, allocations: 164.4 kB / 22.46 MB, free: 5.355 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.567/1.567, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.887/2.887, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.604e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001596/0.001622, allocations: 0.5908 MB / 0.9821 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002485/0.001871, allocations: 47.77 kB / 0.9821 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.407e-05/0.001885, allocations: 0 / 0.9821 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.067e-05/0.001896, allocations: 0 / 0.9821 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.431e-06/0.001901, allocations: 0 / 0.9821 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.002118, allocations: 19.97 kB / 0.9821 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.031e-05/0.002158, allocations: 3.938 kB / 0.9821 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.002194, allocations: 0 / 0.9821 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.274e-05/0.002216, allocations: 3.984 kB / 0.9821 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.439e-05/0.002241, allocations: 4 kB / 0.9821 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.002252, allocations: 3.938 kB / 0.9821 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.844e-05/0.00235, allocations: 23.92 kB / 0.9822 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.00236, allocations: 0 / 0.9822 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.002375, allocations: 4 kB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.722e-05/0.002462, allocations: 19.95 kB / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002464, allocations: 0 / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002465, allocations: 0 / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.002478, allocations: 4 kB / 0.9822 GB, free: 11.16 MB / 0.9356 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.0002876/0.002766, allocations: 238.4 kB / 0.9824 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.0028, allocations: 8.031 kB / 0.9824 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.003058, allocations: 24.86 kB / 0.9824 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.003145, allocations: 109.8 kB / 0.9826 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.003155, allocations: 384 / 0.9826 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.003166, allocations: 384 / 0.9826 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.003302, allocations: 34.25 kB / 0.9826 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.003309, allocations: 192 / 0.9826 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.003319, allocations: 4.359 kB / 0.9826 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.003323, allocations: 384 / 0.9826 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.003433, allocations: 19.86 kB / 0.9826 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.003558, allocations: 101.3 kB / 0.9827 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.048e-05/0.003649, allocations: 22.59 kB / 0.9827 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.003706, allocations: 8.922 kB / 0.9827 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.003724, allocations: 0 / 0.9827 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.003757, allocations: 34.56 kB / 0.9828 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.003758, allocations: 0 / 0.9828 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002476/0.004005, allocations: 57.55 kB / 0.9828 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.004045, allocations: 55.53 kB / 0.9829 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.106e-05/0.004096, allocations: 93.86 kB / 0.983 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.004123, allocations: 25.7 kB / 0.983 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.00416, allocations: 80.14 kB / 0.9831 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.004182, allocations: 0 / 0.9831 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.004215, allocations: 9.719 kB / 0.9831 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.004374, allocations: 322.8 kB / 0.9834 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.061e-05/0.004425, allocations: 0 / 0.9834 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.00447, allocations: 7.984 kB / 0.9834 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.004591, allocations: 24.91 kB / 0.9834 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004592, allocations: 0 / 0.9834 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000139/0.004731, allocations: 41.62 kB / 0.9835 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.004747, allocations: 8 kB / 0.9835 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.004751, allocations: 0 / 0.9835 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.004762, allocations: 0 / 0.9835 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.004833, allocations: 4 kB / 0.9835 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.004837, allocations: 0 / 0.9835 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.00488, allocations: 15.89 kB / 0.9835 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.004886, allocations: 0 / 0.9835 GB, free: 9.66 MB / 0.9356 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 8.148e-05/0.004968, allocations: 109.8 kB / 0.9836 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.004977, allocations: 0 / 0.9836 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.005001, allocations: 3 kB / 0.9836 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.005002, allocations: 0 / 0.9836 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.005006, allocations: 0 / 0.9836 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.005008, allocations: 0 / 0.9836 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.777e-05/0.005106, allocations: 109.2 kB / 0.9837 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005106, allocations: 4 kB / 0.9837 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/0.005152, allocations: 4 kB / 0.9837 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.005153, allocations: 0 / 0.9837 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.005159, allocations: 0 / 0.9837 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.00516, allocations: 0 / 0.9837 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005161, allocations: 0 / 0.9837 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.005329, allocations: 72.98 kB / 0.9838 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-06/0.005333, allocations: 0 / 0.9838 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.005343, allocations: 0 / 0.9838 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.005382, allocations: 11.97 kB / 0.9838 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-06/0.005391, allocations: 0 / 0.9838 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.005399, allocations: 4 kB / 0.9838 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.005444, allocations: 79.27 kB / 0.9839 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.005444, allocations: 0 / 0.9839 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001908/0.005635, allocations: 4 kB / 0.9839 GB, free: 9.211 MB / 0.9356 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.0001171/0.005752, allocations: 95.19 kB / 0.984 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.005897, allocations: 15.98 kB / 0.984 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.005899, allocations: 4.062 kB / 0.984 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.005949, allocations: 7.938 kB / 0.984 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.00609, allocations: 0 / 0.984 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.006362, allocations: 88.98 kB / 0.9841 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.834e-05/0.006411, allocations: 59.22 kB / 0.9841 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.006443, allocations: 4.062 kB / 0.9841 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.006469, allocations: 8.5 kB / 0.9841 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.00647, allocations: 0 / 0.9841 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of Templates: time 0.002335/0.008804, allocations: 253.4 kB / 0.9844 GB, free: 8.633 MB / 0.9356 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.131796013563871]