Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001701/0.001701, allocations: 106.3 kB / 16.41 MB, free: 6.008 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.001828/0.001828, allocations: 185.5 kB / 17.34 MB, free: 5.629 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.559/2.559, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.91 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.00186/1.023, allocations: 0.588 MB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002941/1.023, allocations: 55.78 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/1.023, allocations: 4 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/1.023, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.301e-06/1.023, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/1.023, allocations: 15.92 kB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.4e-05/1.024, allocations: 0 / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/1.024, allocations: 4 kB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.122e-05/1.024, allocations: 3.938 kB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.416e-05/1.024, allocations: 0 / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/1.024, allocations: 0 / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/1.024, allocations: 23.97 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/1.024, allocations: 0 / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/1.024, allocations: 7.984 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.154e-05/1.024, allocations: 15.98 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.024, allocations: 0 / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.913e-06/1.024, allocations: 0 / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.087e-06/1.024, allocations: 0 / 1.209 GB, free: 12.91 MB / 0.9356 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.0003046/1.024, allocations: 315.6 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/1.024, allocations: 8.031 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/1.025, allocations: 20.91 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.626e-05/1.025, allocations: 164.4 kB / 1.21 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/1.025, allocations: 8.359 kB / 1.21 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/1.025, allocations: 384 / 1.21 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/1.025, allocations: 38.19 kB / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.025, allocations: 4.172 kB / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/1.025, allocations: 3.938 kB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/1.025, allocations: 0 / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.535e-05/1.025, allocations: 7.984 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/1.025, allocations: 149.7 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/1.025, allocations: 30.53 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/1.025, allocations: 12.86 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/1.025, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/1.025, allocations: 30.56 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/1.025, allocations: 4 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002352/1.026, allocations: 49.61 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/1.026, allocations: 51.41 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.368e-05/1.026, allocations: 97.8 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/1.026, allocations: 25.7 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/1.026, allocations: 80.14 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/1.026, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/1.026, allocations: 17.84 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.026, allocations: 314.8 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/1.026, allocations: 4 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.8e-05/1.026, allocations: 11.92 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.834e-05/1.026, allocations: 8.859 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.026, allocations: 0 / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001245/1.026, allocations: 53.73 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.026, allocations: 6.344 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.026, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.026, allocations: 3.938 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/1.026, allocations: 4 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/1.026, allocations: 0 / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/1.026, allocations: 3.984 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/1.026, allocations: 4 kB / 1.211 GB, free: 11.18 MB / 0.9356 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 6.836e-05/1.027, allocations: 115.3 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/1.027, allocations: 3.906 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/1.027, allocations: 7.062 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.027, allocations: 0 / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.027, allocations: 0 / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.027, allocations: 0 / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.231e-05/1.027, allocations: 153.7 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.027, allocations: 4 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/1.027, allocations: 4 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/1.027, allocations: 4 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/1.027, allocations: 3.938 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.027, allocations: 3.938 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.027, allocations: 3.984 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/1.027, allocations: 61.12 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/1.027, allocations: 77.11 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/1.027, allocations: 3.938 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.369e-05/1.027, allocations: 8.031 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/1.027, allocations: 3.984 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/1.027, allocations: 4 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.512e-05/1.027, allocations: 79.22 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/1.027, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001751/1.027, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 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.0001223/1.027, allocations: 95.25 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001425/1.028, allocations: 15.98 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.028, allocations: 3.938 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/1.028, allocations: 11.98 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/1.028, allocations: 0 / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/1.028, allocations: 106.6 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/1.028, allocations: 0.669 MB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/1.028, allocations: 15.56 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/1.028, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of Templates: time 0.001583/1.03, allocations: 395.9 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches