Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001426/0.001426, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001408/0.001408, allocations: 197.8 kB / 22.17 MB, free: 5.211 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.471/1.471, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.91 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7997, allocations: 168.7 MB / 1.274 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001894/0.8016, allocations: 0.596 MB / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002842/0.8018, allocations: 51.84 kB / 1.275 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.609e-05/0.8019, allocations: 3.938 kB / 1.275 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.8019, allocations: 0 / 1.275 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.8019, allocations: 7.938 kB / 1.275 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.8021, allocations: 15.92 kB / 1.275 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.26e-05/0.8022, allocations: 0 / 1.275 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.8022, allocations: 4 kB / 1.275 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.8022, allocations: 0 / 1.275 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.324e-05/0.8023, allocations: 0 / 1.275 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.8023, allocations: 0 / 1.275 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.8024, allocations: 23.97 kB / 1.275 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.8024, allocations: 3.984 kB / 1.275 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.617e-05/0.8024, allocations: 4 kB / 1.275 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.967e-05/0.8025, allocations: 15.98 kB / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8025, allocations: 0 / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8025, allocations: 0 / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.8025, allocations: 0 / 1.275 GB, free: 3.695 MB / 0.9669 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.0003407/0.8028, allocations: 322.2 kB / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.8029, allocations: 8.031 kB / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.8031, allocations: 16.91 kB / 1.275 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.8032, allocations: 164.3 kB / 1.275 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.8033, allocations: 12.31 kB / 1.275 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.8033, allocations: 384 / 1.275 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.8034, allocations: 34.25 kB / 1.275 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8034, allocations: 192 / 1.275 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.8034, allocations: 3.938 kB / 1.275 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.8034, allocations: 0 / 1.275 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.476e-05/0.8035, allocations: 7.984 kB / 1.275 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.8037, allocations: 161.6 kB / 1.275 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.014e-05/0.8038, allocations: 22.55 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.8038, allocations: 8.844 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.8038, allocations: 4.062 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.8039, allocations: 30.56 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.8039, allocations: 0 / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000268/0.8041, allocations: 61.59 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.8042, allocations: 51.41 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.719e-05/0.8042, allocations: 89.86 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.8042, allocations: 25.7 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.8043, allocations: 84.08 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.8043, allocations: 0 / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.8043, allocations: 13.72 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.8045, allocations: 315 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.8045, allocations: 7.984 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.8046, allocations: 0 / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.767e-05/0.8047, allocations: 20.84 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.8047, allocations: 3.938 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002167/0.8049, allocations: 41.75 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8049, allocations: 11.98 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.8049, allocations: 0 / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.8049, allocations: 3.938 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.805, allocations: 7.938 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.805, allocations: 0 / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.362e-05/0.805, allocations: 0 / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.805, allocations: 0 / 1.276 GB, free: 1.969 MB / 0.9669 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.232e-05/0.8051, allocations: 115.4 kB / 1.276 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.8051, allocations: 4.031 kB / 1.276 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.8052, allocations: 7.062 kB / 1.276 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.8052, allocations: 3.938 kB / 1.276 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.8052, allocations: 0 / 1.276 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.8052, allocations: 0 / 1.276 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.8053, allocations: 153.7 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8053, allocations: 0 / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.8053, allocations: 0 / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.8053, allocations: 4 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.8053, allocations: 3.938 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8053, allocations: 8 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8053, allocations: 0 / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.8055, allocations: 65.11 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.8055, allocations: 85.05 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.8055, allocations: 3.938 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.067e-05/0.8056, allocations: 0 / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-06/0.8056, allocations: 4.031 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.8056, allocations: 0 / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.713e-05/0.8056, allocations: 83.28 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.8056, allocations: 0 / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000173/0.8058, allocations: 0 / 1.277 GB, free: 1.348 MB / 0.9669 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.0001463/0.8059, allocations: 99.77 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.8061, allocations: 11.98 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8061, allocations: 4.062 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.477e-05/0.8061, allocations: 4 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.8063, allocations: 5.562 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.8065, allocations: 112.8 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.8069, allocations: 0.6729 MB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.807, allocations: 4.062 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.807, allocations: 11.44 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.807, allocations: 0 / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of Templates: time 0.002348/0.8093, allocations: 236.7 kB / 1.278 GB, free: 140 kB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.53534908639267]