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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001272/0.001272, allocations: 107.8 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 187 kB / 17.34 MB, free: 5.715 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8856/0.8869, allocations: 151.6 MB / 1.167 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001786/0.8887, allocations: 0.5767 MB / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000288/0.8891, allocations: 51.78 kB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.8891, allocations: 0 / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.8891, allocations: 0 / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.8891, allocations: 0 / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.8894, allocations: 31.91 kB / 1.168 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.003e-05/0.8894, allocations: 0 / 1.168 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.8895, allocations: 3.938 kB / 1.168 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.458e-05/0.8895, allocations: 3.938 kB / 1.168 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.36e-05/0.8895, allocations: 4 kB / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.8896, allocations: 0 / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.8897, allocations: 19.97 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.8897, allocations: 0 / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.673e-05/0.8897, allocations: 8 kB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.789e-05/0.8898, allocations: 11.97 kB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8898, allocations: 4 kB / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8898, allocations: 0 / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8898, allocations: 0 / 1.168 GB, free: 3.059 MB / 0.8887 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.0003099/0.8901, allocations: 316.6 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.8902, allocations: 12.92 kB / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.8904, allocations: 16.91 kB / 1.168 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.8905, allocations: 160.4 kB / 1.169 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.8906, allocations: 384 / 1.169 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.8906, allocations: 8.359 kB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.8907, allocations: 38.19 kB / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.8907, allocations: 192 / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.8907, allocations: 3.938 kB / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8907, allocations: 4 kB / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.033e-05/0.8908, allocations: 7.984 kB / 1.169 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.891, allocations: 153.2 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.558e-05/0.8911, allocations: 26.55 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.8911, allocations: 16.84 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.8911, allocations: 0 / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.8912, allocations: 30.56 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.8912, allocations: 4 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002341/0.8914, allocations: 57.56 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.8915, allocations: 51.41 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.314e-05/0.8915, allocations: 93.86 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.8915, allocations: 25.7 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.8915, allocations: 80.14 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.8916, allocations: 0 / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.8916, allocations: 9.719 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.8917, allocations: 315 kB / 1.169 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.45e-05/0.8918, allocations: 7.984 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.8918, allocations: 7.938 kB / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.614e-05/0.8919, allocations: 20.84 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8919, allocations: 0 / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001095/0.892, allocations: 37.69 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.892, allocations: 8.094 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8921, allocations: 11.92 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8921, allocations: 3.938 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.486e-05/0.8921, allocations: 0 / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.8922, allocations: 4 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.196e-05/0.8922, allocations: 4 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.8922, allocations: 0 / 1.17 GB, free: 1.332 MB / 0.8887 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.028e-05/0.8923, allocations: 113.8 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-06/0.8923, allocations: 4 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.8923, allocations: 11.06 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.8923, allocations: 0 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.8924, allocations: 0 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.8924, allocations: 0 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.499e-05/0.8925, allocations: 145.7 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8925, allocations: 0 / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.8925, allocations: 7.984 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.8925, allocations: 0 / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.8925, allocations: 3.938 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.8925, allocations: 7.938 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8925, allocations: 4 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.8927, allocations: 65.11 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.8927, allocations: 77.11 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.8927, allocations: 3.938 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.794e-05/0.8928, allocations: 4 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.8928, allocations: 32 / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.8928, allocations: 4 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.8928, allocations: 79.22 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.8928, allocations: 0 / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001709/0.893, allocations: 4 kB / 1.17 GB, free: 0.707 MB / 0.8887 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.0001324/0.8931, allocations: 99.23 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.8933, allocations: 11.98 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.8933, allocations: 4.062 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.8934, allocations: 4 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.8935, allocations: 4 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.8937, allocations: 109.1 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.894, allocations: 0.6729 MB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.894, allocations: 7.438 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.894, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.001522/0.8955, allocations: 407.6 kB / 1.171 GB, free: 15.34 MB / 0.9044 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