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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 92.31 kB / 20.19 MB, free: 4.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 169 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.06/2.06, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.8782 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/3.013e-05, allocations: 3.625 kB / 0.8782 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001337/0.001367, allocations: 0.6157 MB / 0.8788 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002197/0.001587, allocations: 41.19 kB / 0.8789 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.674e-05/0.001604, allocations: 0 / 0.8789 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.001619, allocations: 0.9375 kB / 0.8789 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.932e-06/0.001625, allocations: 0 / 0.8789 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.00185, allocations: 20.94 kB / 0.8789 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.204e-05/0.001893, allocations: 4 kB / 0.8789 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.001929, allocations: 0 / 0.8789 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.15e-05/0.001951, allocations: 6.328 kB / 0.8789 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.271e-05/0.001973, allocations: 0 / 0.8789 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.001986, allocations: 0 / 0.8789 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.233e-05/0.002079, allocations: 20.94 kB / 0.8789 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.00209, allocations: 0 / 0.8789 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.002103, allocations: 4.75 kB / 0.8789 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.445e-05/0.002188, allocations: 20.56 kB / 0.879 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00219, allocations: 3.531 kB / 0.879 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.675e-06/0.002193, allocations: 4 kB / 0.879 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.002198, allocations: 0 / 0.879 GB, free: 5.844 MB / 0.8386 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.0002298/0.002428, allocations: 337.2 kB / 0.8793 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.002464, allocations: 8.031 kB / 0.8793 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.002657, allocations: 16.91 kB / 0.8793 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.697e-05/0.002714, allocations: 112.6 kB / 0.8794 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.002723, allocations: 384 / 0.8794 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.002731, allocations: 4.375 kB / 0.8794 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.00284, allocations: 48.17 kB / 0.8795 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-06/0.002845, allocations: 1.062 kB / 0.8795 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.002853, allocations: 1.156 kB / 0.8795 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.002859, allocations: 384 / 0.8795 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.002877, allocations: 4.812 kB / 0.8795 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.258e-05/0.002969, allocations: 108.6 kB / 0.8796 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.82e-05/0.003007, allocations: 32.53 kB / 0.8796 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.003026, allocations: 11.78 kB / 0.8796 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.003043, allocations: 7.984 kB / 0.8796 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.00306, allocations: 37.94 kB / 0.8797 GB, free: 5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.003061, allocations: 0 / 0.8797 GB, free: 5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.003179, allocations: 29.7 kB / 0.8797 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.003209, allocations: 59.34 kB / 0.8797 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.249e-05/0.003252, allocations: 142.2 kB / 0.8799 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.003261, allocations: 26.36 kB / 0.8799 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.003292, allocations: 126.9 kB / 0.88 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.00332, allocations: 4.297 kB / 0.88 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.003354, allocations: 27.36 kB / 0.8801 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.003464, allocations: 496.1 kB / 0.8805 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.003483, allocations: 4.125 kB / 0.8805 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.003491, allocations: 0.7656 kB / 0.8805 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.003527, allocations: 11.69 kB / 0.8805 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003528, allocations: 0 / 0.8805 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.003e-05/0.003578, allocations: 37.69 kB / 0.8806 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.003592, allocations: 6.344 kB / 0.8806 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.003596, allocations: 3.938 kB / 0.8806 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.003606, allocations: 0 / 0.8806 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.003666, allocations: 12.95 kB / 0.8806 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.00367, allocations: 0 / 0.8806 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.003686, allocations: 7.938 kB / 0.8806 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.003691, allocations: 0 / 0.8806 GB, free: 3.957 MB / 0.8386 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 5.731e-05/0.003748, allocations: 156.6 kB / 0.8808 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.003755, allocations: 3.984 kB / 0.8808 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.003777, allocations: 3 kB / 0.8808 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.003778, allocations: 0 / 0.8808 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.003782, allocations: 0.6562 kB / 0.8808 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.003785, allocations: 0 / 0.8808 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.598e-05/0.003841, allocations: 120.5 kB / 0.8809 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.003842, allocations: 0 / 0.8809 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.003856, allocations: 0 / 0.8809 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.003857, allocations: 4 kB / 0.8809 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.003863, allocations: 4.859 kB / 0.8809 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.003864, allocations: 0 / 0.8809 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.003865, allocations: 0 / 0.8809 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.947e-05/0.003935, allocations: 77.08 kB / 0.881 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-06/0.003938, allocations: 0 / 0.881 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.003947, allocations: 3.984 kB / 0.881 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.04e-05/0.003958, allocations: 8.031 kB / 0.881 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.00397, allocations: 0 / 0.881 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.003972, allocations: 3.938 kB / 0.881 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.659e-05/0.003998, allocations: 119.2 kB / 0.8811 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.003998, allocations: 0 / 0.8811 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001124/0.004111, allocations: 0 / 0.8811 GB, free: 3.395 MB / 0.8386 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 7.986e-05/0.00419, allocations: 99.19 kB / 0.8812 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.696e-05/0.004267, allocations: 15.67 kB / 0.8812 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.00427, allocations: 8.062 kB / 0.8812 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.988e-06/0.00428, allocations: 11.62 kB / 0.8812 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.004382, allocations: 11.94 kB / 0.8812 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/0.004571, allocations: 83.95 kB / 0.8813 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.811e-05/0.004599, allocations: 55.34 kB / 0.8814 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.004621, allocations: 8.062 kB / 0.8814 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.004642, allocations: 8.5 kB / 0.8814 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of SimCode: time 8.91e-07/0.004643, allocations: 0 / 0.8814 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of Templates: time 0.001599/0.006242, allocations: 257.4 kB / 0.8816 GB, free: 2.781 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2322133630514145]