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.001105/0.001105, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.00247, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008923/0.0008923, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008708/0.001763, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9628/0.9628, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09924/1.062, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.894/1.894, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5055/2.4, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.062e-06/1.062e-06, allocations: 0.6562 kB / 0.7294 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.658e-06/1.072e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0009243/0.000935, allocations: 0.6499 MB / 0.73 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 9.64e-05/0.001031, allocations: 49.11 kB / 0.7301 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.187e-06/0.001041, allocations: 1.406 kB / 0.7301 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-06/0.001044, allocations: 0 / 0.7301 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.12e-07/0.001044, allocations: 0 / 0.7301 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.611e-05/0.00113, allocations: 13.22 kB / 0.7301 GB, free: 3.793 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.12e-05/0.001172, allocations: 5.188 kB / 0.7301 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.001206, allocations: 4.5 kB / 0.7301 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.25e-05/0.001239, allocations: 4.625 kB / 0.7301 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.208e-05/0.001261, allocations: 1.094 kB / 0.7301 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.001272, allocations: 0.6562 kB / 0.7301 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.001372, allocations: 24.66 kB / 0.7301 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.001383, allocations: 0.5469 kB / 0.7301 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.406e-05/0.001397, allocations: 4.5 kB / 0.7301 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.643e-05/0.001483, allocations: 25.33 kB / 0.7301 GB, free: 3.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.001499, allocations: 0.5625 kB / 0.7301 GB, free: 3.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.62e-07/0.0015, allocations: 0.875 kB / 0.7301 GB, free: 3.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.001516, allocations: 0 / 0.7301 GB, free: 3.73 MB / 0.698 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.0002369/0.001753, allocations: 214.2 kB / 0.7304 GB, free: 3.496 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.001782, allocations: 12.03 kB / 0.7304 GB, free: 3.484 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.002001, allocations: 95 kB / 0.7305 GB, free: 3.375 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.579e-05/0.002057, allocations: 106.4 kB / 0.7306 GB, free: 3.246 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.002065, allocations: 384 / 0.7306 GB, free: 3.246 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.002072, allocations: 5.062 kB / 0.7306 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.398e-05/0.002166, allocations: 48.66 kB / 0.7306 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.002173, allocations: 4.188 kB / 0.7306 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.002179, allocations: 384 / 0.7306 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.002183, allocations: 384 / 0.7306 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.692e-05/0.0022, allocations: 4.75 kB / 0.7306 GB, free: 3.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.516e-05/0.002265, allocations: 57.7 kB / 0.7307 GB, free: 3.109 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.412e-05/0.002299, allocations: 19.02 kB / 0.7307 GB, free: 3.082 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.237e-05/0.002311, allocations: 14.25 kB / 0.7307 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.002325, allocations: 0 / 0.7307 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.002345, allocations: 34.56 kB / 0.7307 GB, free: 3.023 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.002346, allocations: 0.875 kB / 0.7307 GB, free: 3.023 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 8.3e-05/0.002429, allocations: 30.84 kB / 0.7308 GB, free: 2.988 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.002454, allocations: 55.41 kB / 0.7308 GB, free: 2.922 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.213e-05/0.002476, allocations: 94.52 kB / 0.7309 GB, free: 2.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.002484, allocations: 25.7 kB / 0.7309 GB, free: 2.789 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.002502, allocations: 85.88 kB / 0.731 GB, free: 2.703 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.002526, allocations: 4.375 kB / 0.731 GB, free: 2.703 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.002547, allocations: 17.7 kB / 0.731 GB, free: 2.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.002612, allocations: 314.8 kB / 0.7313 GB, free: 2.363 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-06/0.002619, allocations: 0.5938 kB / 0.7313 GB, free: 2.363 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-06/0.002626, allocations: 5 kB / 0.7313 GB, free: 2.359 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.263e-05/0.002649, allocations: 8.859 kB / 0.7314 GB, free: 2.348 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.002651, allocations: 0.5312 kB / 0.7314 GB, free: 2.348 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.189e-05/0.002682, allocations: 38.81 kB / 0.7314 GB, free: 2.305 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.002692, allocations: 4.875 kB / 0.7314 GB, free: 2.301 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.002696, allocations: 0.7188 kB / 0.7314 GB, free: 2.301 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/0.002703, allocations: 3.938 kB / 0.7314 GB, free: 2.297 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.002758, allocations: 4.531 kB / 0.7314 GB, free: 2.293 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-06/0.00276, allocations: 0.9375 kB / 0.7314 GB, free: 2.293 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.002771, allocations: 3.938 kB / 0.7314 GB, free: 2.289 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.002776, allocations: 3.984 kB / 0.7314 GB, free: 2.285 MB / 0.698 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.207e-05/0.002818, allocations: 118.3 kB / 0.7315 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-06/0.002821, allocations: 3.172 kB / 0.7315 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.67e-05/0.002838, allocations: 3 kB / 0.7315 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.91e-07/0.002839, allocations: 0 / 0.7315 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.00284, allocations: 0 / 0.7315 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.002842, allocations: 1.219 kB / 0.7315 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.942e-05/0.002882, allocations: 65.84 kB / 0.7316 GB, free: 2.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.002883, allocations: 0 / 0.7316 GB, free: 2.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/0.002898, allocations: 9.484 kB / 0.7316 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-06/0.0029, allocations: 0 / 0.7316 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.002901, allocations: 0 / 0.7316 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-06/0.002904, allocations: 0 / 0.7316 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.3e-07/0.002904, allocations: 0.5625 kB / 0.7316 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.002905, allocations: 0 / 0.7316 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.445e-05/0.002949, allocations: 66.62 kB / 0.7317 GB, free: 1.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-06/0.002955, allocations: 0.6562 kB / 0.7317 GB, free: 1.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.002964, allocations: 0.75 kB / 0.7317 GB, free: 1.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-06/0.002971, allocations: 4 kB / 0.7317 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.002972, allocations: 0.9375 kB / 0.7317 GB, free: 1.977 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.32e-06/0.002978, allocations: 4.859 kB / 0.7317 GB, free: 1.969 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.002978, allocations: 0 / 0.7317 GB, free: 1.969 MB / 0.698 GB Notification: Performance of remove unused functions: time 8.29e-05/0.003061, allocations: 1.25 kB / 0.7317 GB, free: 1.969 MB / 0.698 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 5.968e-05/0.00312, allocations: 85.16 kB / 0.7318 GB, free: 1.875 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.983e-05/0.00317, allocations: 14.58 kB / 0.7318 GB, free: 1.859 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.003173, allocations: 0 / 0.7318 GB, free: 1.859 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.224e-06/0.00318, allocations: 8.859 kB / 0.7318 GB, free: 1.848 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.73e-05/0.003237, allocations: 11.56 kB / 0.7318 GB, free: 1.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001348/0.003372, allocations: 78.42 kB / 0.7319 GB, free: 1.734 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.369e-05/0.003396, allocations: 56.61 kB / 0.7319 GB, free: 1.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.003415, allocations: 5.891 kB / 0.7319 GB, free: 1.656 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.003443, allocations: 48.38 kB / 0.732 GB, free: 1.609 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.003443, allocations: 0 / 0.732 GB, free: 1.609 MB / 0.698 GB Notification: Performance of Templates: time 0.001353/0.004796, allocations: 282.3 kB / 0.7322 GB, free: 1.344 MB / 0.698 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.867464848794043]