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.000807/0.000807, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008089/0.0008089, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8954/0.8954, allocations: 177.1 MB / 203.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 1.794/1.794, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.372e-06/1.372e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.78e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0009504/0.0009682, allocations: 0.5953 MB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001918/0.00116, allocations: 51.8 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.336e-05/0.001173, allocations: 0 / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.001187, allocations: 0 / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.001192, allocations: 0 / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.001388, allocations: 11.92 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 3.857e-05/0.001426, allocations: 7.984 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.001461, allocations: 0 / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.088e-05/0.001481, allocations: 0 / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.988e-05/0.001501, allocations: 4 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.001511, allocations: 0 / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.615e-05/0.001598, allocations: 23.97 kB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.001608, allocations: 3.938 kB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.141e-05/0.00162, allocations: 4 kB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.334e-05/0.001693, allocations: 15.98 kB / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.001695, allocations: 0 / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.12e-07/0.001695, allocations: 0 / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.001699, allocations: 0 / 1.002 GB, free: 12.22 MB / 0.9636 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.0002057/0.001905, allocations: 238.4 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.00194, allocations: 12.75 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.002117, allocations: 20.91 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.369e-05/0.002171, allocations: 105.7 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.00218, allocations: 384 / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-06/0.002187, allocations: 4.375 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.315e-05/0.002281, allocations: 42.23 kB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.002287, allocations: 192 / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.002295, allocations: 384 / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.002298, allocations: 384 / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.002343, allocations: 19.92 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.683e-05/0.00243, allocations: 97.33 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.002476, allocations: 22.55 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.002504, allocations: 12.91 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.00252, allocations: 0 / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.002539, allocations: 34.56 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.002539, allocations: 0 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.002685, allocations: 49.67 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.002711, allocations: 51.41 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.369e-05/0.002734, allocations: 89.86 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.002743, allocations: 25.7 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.798e-05/0.002761, allocations: 88.06 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.002786, allocations: 4 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.002811, allocations: 9.719 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.002879, allocations: 322.7 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.551e-05/0.002904, allocations: 11.92 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.002923, allocations: 8.125 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.753e-05/0.002971, allocations: 16.84 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.002972, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.9e-05/0.003031, allocations: 45.66 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.003043, allocations: 5.875 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.003048, allocations: 4 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.003059, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/0.003106, allocations: 8.031 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.003111, allocations: 3.984 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.003133, allocations: 11.89 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.003138, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 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 4.93e-05/0.003187, allocations: 113.8 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-06/0.003191, allocations: 4 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.003219, allocations: 3 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.00322, allocations: 0 / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.003224, allocations: 0 / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.003227, allocations: 0 / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.487e-05/0.003271, allocations: 101.3 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-07/0.003272, allocations: 4 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.003286, allocations: 3.984 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.003287, allocations: 0 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.003293, allocations: 4 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.003293, allocations: 0 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.003294, allocations: 0 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.147e-05/0.003365, allocations: 69.06 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-06/0.003369, allocations: 7.922 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-06/0.003377, allocations: 4.031 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.003387, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.003399, allocations: 4 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.003403, allocations: 4 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.829e-05/0.003421, allocations: 75.28 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003421, allocations: 0 / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001143/0.003535, allocations: 0 / 1.003 GB, free: 10.26 MB / 0.9636 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 6.192e-05/0.003597, allocations: 99.17 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.911e-05/0.003676, allocations: 19.98 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.003678, allocations: 7.938 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.68e-05/0.003694, allocations: 4 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001/0.003794, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000173/0.003968, allocations: 114.6 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.024e-05/0.003998, allocations: 63.28 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.004021, allocations: 8.5 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of SimCode: time 3.91e-07/0.004021, allocations: 0 / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of Templates: time 0.0011/0.005122, allocations: 401.4 kB / 1.004 GB, free: 9.5 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 800] 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: 6.317407547496259]