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.001174/0.001174, allocations: 106.6 kB / 16.41 MB, free: 6.469 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.001197/0.001198, allocations: 189.7 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.14 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.422/2.422, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.89 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8981/0.8996, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001722/0.9014, allocations: 0.5788 MB / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002362/0.9016, allocations: 51.78 kB / 1.168 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.498e-05/0.9017, allocations: 0 / 1.168 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.9017, allocations: 0 / 1.168 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.9017, allocations: 4 kB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.9019, allocations: 15.98 kB / 1.168 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.17e-05/0.902, allocations: 3.938 kB / 1.168 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.902, allocations: 4 kB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.549e-05/0.9021, allocations: 3.938 kB / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.9021, allocations: 0 / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.9021, allocations: 0 / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.9022, allocations: 23.97 kB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.9022, allocations: 7.984 kB / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.466e-05/0.9022, allocations: 0 / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.45e-05/0.9023, allocations: 15.98 kB / 1.168 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9023, allocations: 0 / 1.168 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9023, allocations: 0 / 1.168 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.9023, allocations: 0 / 1.168 GB, free: 3.109 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.0002827/0.9026, allocations: 315.6 kB / 1.168 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.9027, allocations: 8.922 kB / 1.168 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.9029, allocations: 16.91 kB / 1.168 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.574e-05/0.903, allocations: 164.4 kB / 1.169 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.9031, allocations: 4.375 kB / 1.169 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.9031, allocations: 384 / 1.169 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.9032, allocations: 34.25 kB / 1.169 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.9032, allocations: 192 / 1.169 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.9032, allocations: 3.938 kB / 1.169 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.9032, allocations: 0 / 1.169 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.538e-05/0.9033, allocations: 15.92 kB / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.9035, allocations: 153.7 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.945e-05/0.9035, allocations: 22.55 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.9036, allocations: 12.91 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.9036, allocations: 0 / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.9036, allocations: 30.56 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.9036, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002314/0.9039, allocations: 61.55 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.9039, allocations: 51.41 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.198e-05/0.9039, allocations: 89.86 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.904, allocations: 25.7 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.904, allocations: 84.08 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.904, allocations: 0 / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.9041, allocations: 13.72 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.9042, allocations: 315 kB / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.9042, allocations: 11.98 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.9043, allocations: 4 kB / 1.169 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.366e-05/0.9043, allocations: 16.84 kB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.9044, allocations: 0 / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001226/0.9045, allocations: 45.72 kB / 1.169 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.9045, allocations: 8 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.9045, allocations: 3.984 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.9045, allocations: 3.938 kB / 1.169 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.9046, allocations: 4 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.9046, allocations: 0 / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.9046, allocations: 0 / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.9047, allocations: 7.984 kB / 1.169 GB, free: 1.387 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 6.334e-05/0.9047, allocations: 109.8 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.9047, allocations: 11.89 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.9048, allocations: 11.06 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.9048, allocations: 0 / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.9048, allocations: 0 / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.9048, allocations: 4 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.699e-05/0.9049, allocations: 141.7 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.9049, allocations: 0 / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.9049, allocations: 7.984 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.905, allocations: 0 / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.905, allocations: 3.938 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.905, allocations: 7.938 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.905, allocations: 0 / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.9051, allocations: 73.05 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.9052, allocations: 77.11 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.9052, allocations: 3.938 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.018e-05/0.9052, allocations: 0 / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.9052, allocations: 8.031 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.9052, allocations: 0 / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.506e-05/0.9053, allocations: 75.28 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9053, allocations: 0 / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001721/0.9055, allocations: 0 / 1.17 GB, free: 0.7617 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.00013/0.9056, allocations: 105.2 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.9057, allocations: 19.92 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9058, allocations: 4.062 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.093e-05/0.9058, allocations: 4 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.9059, allocations: 3.938 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.9062, allocations: 113.1 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.9064, allocations: 0.6768 MB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.9065, allocations: 7.438 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.9065, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.001456/0.9079, allocations: 391.4 kB / 1.171 GB, free: 15.39 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