Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008172/0.0008206, allocations: 91.84 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009306/0.0009307, allocations: 182.1 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 16.28 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6848/0.6852, allocations: 153.8 MB / 1.024 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007149/0.6859, allocations: 321.6 kB / 1.024 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002608/0.6862, allocations: 51.8 kB / 1.024 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.195e-05/0.6862, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.6862, allocations: 3.938 kB / 1.024 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.148e-06/0.6863, allocations: 0 / 1.024 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.6865, allocations: 15.92 kB / 1.024 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.11e-05/0.6865, allocations: 4 kB / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.6866, allocations: 4 kB / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.6866, allocations: 3.984 kB / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.511e-05/0.6866, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.6866, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-05/0.6867, allocations: 27.97 kB / 1.024 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.6868, allocations: 0 / 1.024 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.6868, allocations: 25.7 kB / 1.024 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.205e-05/0.6869, allocations: 7.984 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6869, allocations: 4 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6869, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.6869, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.7794 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.0002578/0.6871, allocations: 311.6 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.6872, allocations: 8.094 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.6874, allocations: 24.91 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.345e-05/0.6875, allocations: 168.4 kB / 1.025 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.6876, allocations: 384 / 1.025 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.6876, allocations: 4.375 kB / 1.025 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.6877, allocations: 34.25 kB / 1.025 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.6877, allocations: 192 / 1.025 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.6877, allocations: 7.875 kB / 1.025 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.6878, allocations: 3.938 kB / 1.025 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.395e-05/0.6878, allocations: 11.98 kB / 1.025 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.688, allocations: 145.7 kB / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.875e-05/0.6881, allocations: 26.59 kB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.6881, allocations: 8.922 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.6881, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.6882, allocations: 34.55 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.6882, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000223/0.6884, allocations: 53.56 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.6884, allocations: 55.41 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.446e-05/0.6885, allocations: 89.86 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.6885, allocations: 25.7 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.6886, allocations: 84.12 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.6886, allocations: 7.906 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.6886, allocations: 9.719 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6887, allocations: 314.8 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-05/0.6888, allocations: 8.125 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.6888, allocations: 3.984 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.906e-05/0.6889, allocations: 20.78 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.6889, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001164/0.689, allocations: 41.69 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.6891, allocations: 10.44 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.6891, allocations: 4 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.6891, allocations: 3.938 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.6892, allocations: 7.984 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.6892, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.6892, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.6892, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.7794 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 7.22e-05/0.6893, allocations: 110.4 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-06/0.6893, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.6893, allocations: 11.06 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.6893, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6894, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.6894, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.717e-05/0.6895, allocations: 153.7 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6895, allocations: 3.938 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.6895, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.6895, allocations: 3.984 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.6895, allocations: 7.938 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6895, allocations: 3.938 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6895, allocations: 4 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.6897, allocations: 57.12 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.6897, allocations: 77.11 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.6898, allocations: 7.938 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.6898, allocations: 7.984 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.6898, allocations: 4 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.6898, allocations: 4.031 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.352e-05/0.6898, allocations: 75.28 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6898, allocations: 4 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001701/0.69, allocations: 0 / 1.026 GB, free: 13.19 MB / 0.7794 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.0001133/0.6901, allocations: 95.25 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.6903, allocations: 15.92 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6903, allocations: 64 / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.6903, allocations: 11.98 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.6905, allocations: 5.969 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.6907, allocations: 104.5 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.6909, allocations: 0.6731 MB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.691, allocations: 7.438 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.691, allocations: 0 / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of Templates: time 0.001404/0.6924, allocations: 389 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches