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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 117 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.001641, allocations: 191.7 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.74/2.74, allocations: 437.1 MB / 0.7177 GB, free: 4.598 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.89 kB / 1.028 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3224, allocations: 151.6 MB / 1.176 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001662/0.3241, allocations: 0.5844 MB / 1.176 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000253/0.3244, allocations: 51.84 kB / 1.177 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.3244, allocations: 0 / 1.177 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.3244, allocations: 0 / 1.177 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.3244, allocations: 0 / 1.177 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.3246, allocations: 15.92 kB / 1.177 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.822e-05/0.3247, allocations: 0 / 1.177 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.3247, allocations: 4 kB / 1.177 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.3248, allocations: 3.938 kB / 1.177 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.016e-05/0.3248, allocations: 0 / 1.177 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.3248, allocations: 4 kB / 1.177 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.95e-05/0.3249, allocations: 19.98 kB / 1.177 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.3249, allocations: 3.984 kB / 1.177 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.348e-05/0.3249, allocations: 0 / 1.177 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.359e-05/0.325, allocations: 19.97 kB / 1.177 GB, free: 5.273 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.325, allocations: 0 / 1.177 GB, free: 5.273 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.325, allocations: 0 / 1.177 GB, free: 5.273 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3251, allocations: 0 / 1.177 GB, free: 5.273 MB / 0.92 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.0003288/0.3254, allocations: 313.8 kB / 1.177 GB, free: 4.918 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3254, allocations: 8.031 kB / 1.177 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.3257, allocations: 20.91 kB / 1.177 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3258, allocations: 172.3 kB / 1.177 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3258, allocations: 4.375 kB / 1.177 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.3259, allocations: 8.312 kB / 1.177 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.326, allocations: 34.25 kB / 1.177 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.326, allocations: 192 / 1.177 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.326, allocations: 3.938 kB / 1.177 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.326, allocations: 4 kB / 1.177 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.856e-05/0.3261, allocations: 7.984 kB / 1.177 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.3263, allocations: 145.7 kB / 1.177 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.3264, allocations: 30.88 kB / 1.177 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.3264, allocations: 12.92 kB / 1.177 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.3265, allocations: 3.984 kB / 1.177 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3265, allocations: 34.56 kB / 1.177 GB, free: 4.324 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3265, allocations: 0 / 1.177 GB, free: 4.324 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002429/0.3268, allocations: 49.58 kB / 1.177 GB, free: 4.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.3268, allocations: 51.41 kB / 1.177 GB, free: 4.207 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.367e-05/0.3269, allocations: 89.86 kB / 1.178 GB, free: 4.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3269, allocations: 29.64 kB / 1.178 GB, free: 4.074 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.3269, allocations: 88.25 kB / 1.178 GB, free: 3.984 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.327, allocations: 4 kB / 1.178 GB, free: 3.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.327, allocations: 17.72 kB / 1.178 GB, free: 3.957 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3271, allocations: 310.8 kB / 1.178 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.027e-05/0.3272, allocations: 4 kB / 1.178 GB, free: 3.641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.125e-05/0.3272, allocations: 7.984 kB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/0.3273, allocations: 16.91 kB / 1.178 GB, free: 3.613 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3274, allocations: 0 / 1.178 GB, free: 3.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001269/0.3275, allocations: 45.69 kB / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3275, allocations: 4 kB / 1.178 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3275, allocations: 0 / 1.178 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3275, allocations: 3.938 kB / 1.178 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.3276, allocations: 11.92 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3276, allocations: 0 / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.3277, allocations: 4.031 kB / 1.178 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.3277, allocations: 4 kB / 1.178 GB, free: 3.535 MB / 0.92 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.287e-05/0.3278, allocations: 105.8 kB / 1.178 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-06/0.3278, allocations: 0 / 1.178 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.3278, allocations: 11.05 kB / 1.178 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3278, allocations: 0 / 1.178 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3278, allocations: 0 / 1.178 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.3278, allocations: 0 / 1.178 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.3279, allocations: 145.7 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.328, allocations: 8 kB / 1.178 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.961e-05/0.328, allocations: 7.984 kB / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.328, allocations: 0 / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.328, allocations: 7.875 kB / 1.178 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.328, allocations: 3.938 kB / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.328, allocations: 0 / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.3282, allocations: 73.06 kB / 1.178 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.3283, allocations: 81.09 kB / 1.178 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3283, allocations: 3.938 kB / 1.178 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.101e-05/0.3283, allocations: 0 / 1.178 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.3283, allocations: 0 / 1.178 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3283, allocations: 4 kB / 1.178 GB, free: 2.996 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.3284, allocations: 75.28 kB / 1.179 GB, free: 2.922 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3284, allocations: 0 / 1.179 GB, free: 2.922 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001771/0.3286, allocations: 0 / 1.179 GB, free: 2.922 MB / 0.92 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.0001298/0.3287, allocations: 107.3 kB / 1.179 GB, free: 2.805 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.3289, allocations: 7.984 kB / 1.179 GB, free: 2.797 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3289, allocations: 4 kB / 1.179 GB, free: 2.793 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.638e-05/0.3289, allocations: 7.984 kB / 1.179 GB, free: 2.785 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.3291, allocations: 3.938 kB / 1.179 GB, free: 2.781 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.3293, allocations: 118.7 kB / 1.179 GB, free: 2.633 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3296, allocations: 0.669 MB / 1.179 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.3297, allocations: 15.42 kB / 1.179 GB, free: 1.922 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.3297, allocations: 0 / 1.179 GB, free: 1.922 MB / 0.92 GB Notification: Performance of Templates: time 0.00177/0.3314, allocations: 391.7 kB / 1.18 GB, free: 1.539 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (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) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.167218214948662]