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.00164/0.00164, allocations: 110 kB / 18.93 MB, free: 2.945 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.001724/0.001724, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.428/1.428, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.00325/0.00325, allocations: 63.89 kB / 1.062 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8063/0.8096, allocations: 160.8 MB / 1.219 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001973/0.8115, allocations: 0.5938 MB / 1.219 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002631/0.8118, allocations: 51.12 kB / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.522e-05/0.8118, allocations: 1.031 kB / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.8118, allocations: 4 kB / 1.219 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.8118, allocations: 0 / 1.219 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.8121, allocations: 17.08 kB / 1.219 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.711e-05/0.8121, allocations: 9.188 kB / 1.219 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.8122, allocations: 1.156 kB / 1.219 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.531e-05/0.8122, allocations: 1.281 kB / 1.219 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.675e-05/0.8122, allocations: 5.141 kB / 1.219 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.8122, allocations: 0 / 1.219 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.8123, allocations: 18.33 kB / 1.219 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.8123, allocations: 0 / 1.219 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.8124, allocations: 9.172 kB / 1.219 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.382e-05/0.8125, allocations: 14.39 kB / 1.219 GB, free: 3.117 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8125, allocations: 0 / 1.219 GB, free: 3.117 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8125, allocations: 0 / 1.219 GB, free: 3.117 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.8125, allocations: 0 / 1.219 GB, free: 3.117 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.0003934/0.8129, allocations: 309.9 kB / 1.22 GB, free: 2.77 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.8129, allocations: 10.28 kB / 1.22 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.8132, allocations: 21.48 kB / 1.22 GB, free: 2.758 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.8133, allocations: 168.4 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.8133, allocations: 1.531 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.8133, allocations: 384 / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.8135, allocations: 38.59 kB / 1.22 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.8135, allocations: 4.125 kB / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.8135, allocations: 3.938 kB / 1.22 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.8135, allocations: 5 kB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.661e-05/0.8136, allocations: 9.328 kB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.8138, allocations: 150.6 kB / 1.22 GB, free: 2.309 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.79e-05/0.8139, allocations: 26.34 kB / 1.22 GB, free: 2.277 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.8139, allocations: 8.578 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.8139, allocations: 7.922 kB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.814, allocations: 31.88 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.814, allocations: 0 / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002399/0.8142, allocations: 53.2 kB / 1.22 GB, free: 2.176 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.8143, allocations: 51.41 kB / 1.22 GB, free: 2.113 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.114e-05/0.8143, allocations: 93.84 kB / 1.22 GB, free: 2.012 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.8143, allocations: 26.92 kB / 1.22 GB, free: 1.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.8144, allocations: 84.14 kB / 1.22 GB, free: 1.895 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.8144, allocations: 1.312 kB / 1.22 GB, free: 1.895 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.8144, allocations: 11.31 kB / 1.22 GB, free: 1.879 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.8146, allocations: 316.1 kB / 1.221 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.152e-05/0.8146, allocations: 6.422 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/0.8147, allocations: 6.562 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.306e-05/0.8148, allocations: 16.53 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8148, allocations: 0 / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001343/0.8149, allocations: 46.53 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.8149, allocations: 5.406 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.8149, allocations: 0 / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.8149, allocations: 5.156 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.815, allocations: 11.14 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.815, allocations: 0 / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.8151, allocations: 1.125 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.8151, allocations: 1.156 kB / 1.221 GB, free: 1.488 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.969e-05/0.8152, allocations: 114.9 kB / 1.221 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-06/0.8152, allocations: 1.031 kB / 1.221 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.8152, allocations: 14.86 kB / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8152, allocations: 1.219 kB / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8152, allocations: 0 / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.8152, allocations: 0 / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.8153, allocations: 150.6 kB / 1.221 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.8153, allocations: 5.141 kB / 1.221 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/0.8154, allocations: 10.14 kB / 1.221 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.8154, allocations: 1.062 kB / 1.221 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.8154, allocations: 7.938 kB / 1.221 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8154, allocations: 1.094 kB / 1.221 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8154, allocations: 3.938 kB / 1.221 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.8156, allocations: 59.41 kB / 1.221 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.8156, allocations: 81.09 kB / 1.221 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.8156, allocations: 5.094 kB / 1.221 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.283e-05/0.8157, allocations: 5.156 kB / 1.221 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.8157, allocations: 1.438 kB / 1.221 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.8157, allocations: 4 kB / 1.221 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.8157, allocations: 80.41 kB / 1.221 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.8157, allocations: 3.938 kB / 1.221 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001832/0.8159, allocations: 1.281 kB / 1.221 GB, free: 0.8789 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.0001222/0.816, allocations: 96.7 kB / 1.221 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.8162, allocations: 20.31 kB / 1.221 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8162, allocations: 0 / 1.221 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.8162, allocations: 4.656 kB / 1.221 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.8164, allocations: 1.094 kB / 1.221 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.8167, allocations: 91.11 kB / 1.221 GB, free: 0.668 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.817, allocations: 0.67 MB / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.817, allocations: 9.234 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.8171, allocations: 8.5 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.8171, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of Templates: time 0.002382/0.8194, allocations: 238.4 kB / 1.222 GB, free: 15.83 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.365130130201578]