Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002366/0.002366, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.002905/0.002905, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.544/1.544, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.367/3.367, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.195e-05, allocations: 10.25 kB / 0.8775 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001817/0.001849, allocations: 0.5992 MB / 0.8781 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002362/0.002085, allocations: 48.62 kB / 0.8781 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.002102, allocations: 0.5 kB / 0.8781 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.688e-06/0.002111, allocations: 1.312 kB / 0.8781 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-06/0.002116, allocations: 0 / 0.8781 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.002319, allocations: 20.78 kB / 0.8782 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.309e-05/0.002362, allocations: 4.875 kB / 0.8782 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.002408, allocations: 4 kB / 0.8782 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.002439, allocations: 1.344 kB / 0.8782 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.55e-05/0.002464, allocations: 1.094 kB / 0.8782 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.002476, allocations: 4 kB / 0.8782 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.002588, allocations: 15.98 kB / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.002599, allocations: 1.406 kB / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.232e-05/0.002612, allocations: 0 / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.876e-05/0.00271, allocations: 24.83 kB / 0.8782 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.002716, allocations: 4 kB / 0.8782 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002716, allocations: 1.469 kB / 0.8782 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.002721, allocations: 0 / 0.8782 GB, free: 5.898 MB / 0.8386 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.0003862/0.003107, allocations: 340.4 kB / 0.8785 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.003145, allocations: 13.31 kB / 0.8786 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.003382, allocations: 12.92 kB / 0.8786 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.003494, allocations: 105.3 kB / 0.8787 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.003505, allocations: 3.656 kB / 0.8787 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.003512, allocations: 4.312 kB / 0.8787 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.003624, allocations: 38.25 kB / 0.8787 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.003632, allocations: 192 / 0.8787 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.00364, allocations: 384 / 0.8787 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.003643, allocations: 0.5938 kB / 0.8787 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.89e-05/0.003702, allocations: 11.92 kB / 0.8787 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.003849, allocations: 112.6 kB / 0.8788 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.289e-05/0.003932, allocations: 31.09 kB / 0.8789 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.003971, allocations: 15.61 kB / 0.8789 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.003988, allocations: 64 / 0.8789 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.004026, allocations: 41.39 kB / 0.8789 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.004027, allocations: 0 / 0.8789 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002021/0.004229, allocations: 37.69 kB / 0.8789 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.004276, allocations: 51.41 kB / 0.879 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.004371, allocations: 142.2 kB / 0.8791 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.004393, allocations: 25.83 kB / 0.8792 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.004463, allocations: 134.9 kB / 0.8793 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.004498, allocations: 3.953 kB / 0.8793 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.004536, allocations: 15.38 kB / 0.8793 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002866/0.004823, allocations: 0.4922 MB / 0.8798 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.004857, allocations: 7.922 kB / 0.8798 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/0.004883, allocations: 4 kB / 0.8798 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.331e-05/0.004946, allocations: 11.69 kB / 0.8798 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.004948, allocations: 0 / 0.8798 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001065/0.005054, allocations: 41.75 kB / 0.8798 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.005067, allocations: 4 kB / 0.8799 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.00507, allocations: 0 / 0.8799 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.005081, allocations: 0 / 0.8799 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.00514, allocations: 7.984 kB / 0.8799 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.005144, allocations: 0 / 0.8799 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.005173, allocations: 11.86 kB / 0.8799 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.005181, allocations: 4 kB / 0.8799 GB, free: 4 MB / 0.8386 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.0001141/0.005295, allocations: 156.6 kB / 0.88 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.005303, allocations: 0 / 0.88 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.005328, allocations: 7.031 kB / 0.88 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.005329, allocations: 0 / 0.88 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.005334, allocations: 4 kB / 0.88 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.005342, allocations: 4 kB / 0.88 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.453e-05/0.005436, allocations: 108.6 kB / 0.8801 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.00544, allocations: 3.984 kB / 0.8801 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.005475, allocations: 4 kB / 0.8801 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005477, allocations: 0 / 0.8801 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.005483, allocations: 3.938 kB / 0.8802 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.005484, allocations: 0 / 0.8802 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005485, allocations: 4 kB / 0.8802 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.005627, allocations: 81.12 kB / 0.8802 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-06/0.00563, allocations: 0 / 0.8802 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.00564, allocations: 3.938 kB / 0.8802 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.393e-05/0.005664, allocations: 0 / 0.8802 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.005681, allocations: 3.984 kB / 0.8802 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.005688, allocations: 4 kB / 0.8802 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.178e-05/0.005749, allocations: 119.2 kB / 0.8804 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005749, allocations: 0 / 0.8804 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000164/0.005913, allocations: 0 / 0.8804 GB, free: 3.434 MB / 0.8386 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.0001139/0.006027, allocations: 99.22 kB / 0.8805 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.006149, allocations: 15.69 kB / 0.8805 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.006151, allocations: 0 / 0.8805 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.402e-05/0.006205, allocations: 19.67 kB / 0.8805 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.006325, allocations: 0.6875 kB / 0.8805 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.006567, allocations: 91.88 kB / 0.8806 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.173e-05/0.006619, allocations: 55.48 kB / 0.8806 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.006648, allocations: 8 kB / 0.8806 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.006675, allocations: 8.5 kB / 0.8806 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/0.006675, allocations: 0 / 0.8806 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of Templates: time 0.002433/0.009108, allocations: 253.3 kB / 0.8809 GB, free: 2.828 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.406264596967958]