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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 190.3 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.277/3.277, allocations: 495.8 MB / 0.783 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00201/0.00201, allocations: 59 kB / 1.137 GB, free: 34.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3766, allocations: 173.6 MB / 1.307 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001909/0.3785, allocations: 0.5983 MB / 1.307 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002984/0.3788, allocations: 52.19 kB / 1.307 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.3789, allocations: 0 / 1.307 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.3789, allocations: 0 / 1.307 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.284e-06/0.3789, allocations: 0 / 1.307 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.3792, allocations: 19.91 kB / 1.307 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.3792, allocations: 4 kB / 1.307 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.3793, allocations: 0 / 1.307 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.575e-05/0.3793, allocations: 4 kB / 1.307 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.439e-05/0.3793, allocations: 0 / 1.307 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3793, allocations: 0 / 1.307 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.3794, allocations: 31.91 kB / 1.307 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.3794, allocations: 0 / 1.307 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.3795, allocations: 0 / 1.307 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.531e-05/0.3796, allocations: 15.97 kB / 1.307 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3796, allocations: 0 / 1.307 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3796, allocations: 0 / 1.307 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.3796, allocations: 0 / 1.307 GB, free: 1.215 MB / 0.9981 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.0003334/0.3799, allocations: 250.4 kB / 1.308 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.38, allocations: 12.02 kB / 1.308 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.3802, allocations: 20.91 kB / 1.308 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.992e-05/0.3803, allocations: 102.5 kB / 1.308 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.3803, allocations: 4.375 kB / 1.308 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.3803, allocations: 4.312 kB / 1.308 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3805, allocations: 34.25 kB / 1.308 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3805, allocations: 4.188 kB / 1.308 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3805, allocations: 3.938 kB / 1.308 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3805, allocations: 4 kB / 1.308 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.129e-05/0.3806, allocations: 7.984 kB / 1.308 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.3808, allocations: 116.8 kB / 1.308 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.069e-05/0.3809, allocations: 22.59 kB / 1.308 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.3809, allocations: 20.84 kB / 1.308 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.3809, allocations: 0 / 1.308 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.381, allocations: 42.5 kB / 1.308 GB, free: 464 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.381, allocations: 0 / 1.308 GB, free: 464 kB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002559/0.3812, allocations: 41.62 kB / 1.308 GB, free: 416 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3813, allocations: 51.41 kB / 1.308 GB, free: 352 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.384e-05/0.3813, allocations: 105.9 kB / 1.308 GB, free: 236 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3814, allocations: 25.7 kB / 1.308 GB, free: 204 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.3814, allocations: 80.14 kB / 1.308 GB, free: 120 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3814, allocations: 0 / 1.308 GB, free: 120 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.3814, allocations: 9.719 kB / 1.308 GB, free: 104 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3816, allocations: 318.8 kB / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.3817, allocations: 7.922 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.3817, allocations: 4 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.3818, allocations: 20.91 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3818, allocations: 0 / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001259/0.382, allocations: 37.69 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.382, allocations: 8 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.382, allocations: 0 / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.382, allocations: 3.938 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.3821, allocations: 3.984 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3821, allocations: 8.031 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.3821, allocations: 0 / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.3821, allocations: 0 / 1.309 GB, free: 15.68 MB / 1.014 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.134e-05/0.3822, allocations: 117.7 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.3822, allocations: 4 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.3822, allocations: 10.92 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3822, allocations: 0 / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3822, allocations: 0 / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3822, allocations: 7.984 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.848e-05/0.3823, allocations: 112.8 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3823, allocations: 4 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.3824, allocations: 3.984 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3824, allocations: 0 / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3824, allocations: 7.938 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3824, allocations: 0 / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3824, allocations: 0 / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.3826, allocations: 65.12 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.3826, allocations: 7.984 kB / 1.309 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3826, allocations: 7.938 kB / 1.309 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.243e-05/0.3826, allocations: 0 / 1.309 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.3826, allocations: 3.938 kB / 1.309 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.3826, allocations: 3.938 kB / 1.309 GB, free: 15.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.3827, allocations: 75.28 kB / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3827, allocations: 7.938 kB / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001724/0.3829, allocations: 4.031 kB / 1.309 GB, free: 15.18 MB / 1.014 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.0001268/0.383, allocations: 95.98 kB / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.3831, allocations: 19.97 kB / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3831, allocations: 0 / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.3832, allocations: 4 kB / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.3833, allocations: 6.031 kB / 1.309 GB, free: 15.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.3836, allocations: 92.98 kB / 1.309 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.384, allocations: 0.669 MB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.493e-05/0.384, allocations: 7.984 kB / 1.31 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.3841, allocations: 11.38 kB / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.3841, allocations: 4 kB / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of Templates: time 0.002393/0.3865, allocations: 233.4 kB / 1.31 GB, free: 13.98 MB / 1.014 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: 9.11789983138442]