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.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001385/0.001385, allocations: 196.4 kB / 16.14 MB, free: 6.711 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.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.779/2.779, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 59.91 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6878, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001969/0.6898, allocations: 0.6449 MB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003206/0.6902, allocations: 55.84 kB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.012e-05/0.6902, allocations: 0 / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.6902, allocations: 0 / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.6902, allocations: 0 / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.6904, allocations: 11.92 kB / 1.017 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.804e-05/0.6905, allocations: 8 kB / 1.017 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.6905, allocations: 0 / 1.017 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.6905, allocations: 3.984 kB / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.129e-05/0.6906, allocations: 0 / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.6906, allocations: 4 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.6907, allocations: 23.98 kB / 1.017 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.6907, allocations: 0 / 1.017 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.6907, allocations: 7.922 kB / 1.017 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.887e-05/0.6908, allocations: 15.98 kB / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.6908, allocations: 0 / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6908, allocations: 0 / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.6909, allocations: 0 / 1.017 GB, free: 1.984 MB / 0.7637 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.0003485/0.6912, allocations: 307.6 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6913, allocations: 8.031 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.6915, allocations: 32.8 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.6917, allocations: 160.4 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.6917, allocations: 384 / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.6917, allocations: 384 / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.6918, allocations: 42.19 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6919, allocations: 192 / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.6919, allocations: 7.875 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6919, allocations: 0 / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.2e-05/0.692, allocations: 15.98 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.6921, allocations: 149.7 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.6922, allocations: 18.61 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.005e-05/0.6923, allocations: 16.91 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.6923, allocations: 0 / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.6924, allocations: 38.5 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.6924, allocations: 0 / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0002413/0.6926, allocations: 45.62 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.6927, allocations: 55.39 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.395e-05/0.6927, allocations: 89.86 kB / 1.018 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.6927, allocations: 25.7 kB / 1.018 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.6928, allocations: 84.12 kB / 1.018 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.6928, allocations: 8.125 kB / 1.018 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.6929, allocations: 13.72 kB / 1.018 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.693, allocations: 310.8 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/0.6931, allocations: 11.92 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.6931, allocations: 4 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.186e-05/0.6932, allocations: 16.78 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6932, allocations: 8.062 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001227/0.6934, allocations: 37.69 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.6934, allocations: 4 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6934, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6934, allocations: 3.938 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.6935, allocations: 11.98 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.6935, allocations: 0 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.6935, allocations: 4 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.6936, allocations: 4.031 kB / 1.019 GB, free: 260 kB / 0.7637 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.481e-05/0.6936, allocations: 105.8 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.6937, allocations: 0 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.6937, allocations: 15.03 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.6937, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6937, allocations: 4 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.6937, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.6939, allocations: 141.7 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6939, allocations: 3.938 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.6939, allocations: 11.98 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6939, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.6939, allocations: 3.938 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6939, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.694, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.6941, allocations: 69.06 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.6942, allocations: 85.12 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.6942, allocations: 3.938 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/0.6942, allocations: 4 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-06/0.6942, allocations: 0 / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.6943, allocations: 0 / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.6943, allocations: 75.28 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6943, allocations: 0 / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001761/0.6945, allocations: 0 / 1.019 GB, free: 15.64 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.0001502/0.6946, allocations: 111.8 kB / 1.019 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.6948, allocations: 15.92 kB / 1.019 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6948, allocations: 3.938 kB / 1.019 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.6948, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.695, allocations: 3.844 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.6953, allocations: 78.66 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.6956, allocations: 0.6772 MB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.088e-05/0.6957, allocations: 3.984 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.6957, allocations: 7.438 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.6957, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of Templates: time 0.002457/0.6982, allocations: 232.7 kB / 1.02 GB, free: 14.46 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=400 -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/jenkins/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