Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001446/0.001446, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001653/0.001653, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9495/0.9495, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.928/1.928, allocations: 377.8 MB / 0.6239 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0.9844 kB / 0.8116 GB, free: 2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.675e-05, allocations: 3.688 kB / 0.8116 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001011/0.001028, allocations: 0.6028 MB / 0.8122 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001961/0.001224, allocations: 48.41 kB / 0.8122 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.639e-05/0.00124, allocations: 1.25 kB / 0.8122 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.001254, allocations: 0 / 0.8122 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-06/0.00126, allocations: 0 / 0.8122 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.001475, allocations: 22.41 kB / 0.8122 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.272e-05/0.001517, allocations: 3.938 kB / 0.8122 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.001551, allocations: 0 / 0.8122 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.001573, allocations: 4 kB / 0.8122 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.109e-05/0.001594, allocations: 0 / 0.8122 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.001605, allocations: 0 / 0.8122 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.499e-05/0.00169, allocations: 19.97 kB / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.001702, allocations: 5.469 kB / 0.8123 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.263e-05/0.001715, allocations: 0 / 0.8123 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.646e-05/0.001792, allocations: 19.91 kB / 0.8123 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.001795, allocations: 4 kB / 0.8123 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.41e-07/0.001796, allocations: 5.5 kB / 0.8123 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.0018, allocations: 0 / 0.8123 GB, free: 1.285 MB / 0.7605 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.0002227/0.002023, allocations: 336.4 kB / 0.8126 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.002055, allocations: 8.031 kB / 0.8126 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.002243, allocations: 18.5 kB / 0.8126 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.737e-05/0.0023, allocations: 104.6 kB / 0.8127 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.002316, allocations: 4.375 kB / 0.8127 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.002324, allocations: 1.375 kB / 0.8127 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.002427, allocations: 51.48 kB / 0.8128 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.002433, allocations: 4.125 kB / 0.8128 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.002441, allocations: 0.9062 kB / 0.8128 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.002448, allocations: 1.406 kB / 0.8128 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.786e-05/0.002466, allocations: 7.875 kB / 0.8128 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.946e-05/0.002556, allocations: 109.3 kB / 0.8129 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.555e-05/0.002591, allocations: 23.06 kB / 0.8129 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.002609, allocations: 12.31 kB / 0.813 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.002624, allocations: 5.359 kB / 0.813 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.002643, allocations: 33.39 kB / 0.813 GB, free: 464 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.002644, allocations: 0 / 0.813 GB, free: 464 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.00276, allocations: 38.8 kB / 0.813 GB, free: 420 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.002786, allocations: 55.41 kB / 0.8131 GB, free: 352 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.397e-05/0.00282, allocations: 143.2 kB / 0.8132 GB, free: 196 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.002828, allocations: 25.7 kB / 0.8132 GB, free: 164 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.002855, allocations: 126.9 kB / 0.8134 GB, free: 32 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.002878, allocations: 0.9062 kB / 0.8134 GB, free: 32 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.002902, allocations: 23.36 kB / 0.8134 GB, free: 0 / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.003013, allocations: 0.4893 MB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.003027, allocations: 0 / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-06/0.003034, allocations: 1.281 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.003064, allocations: 15.62 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.003066, allocations: 0 / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.41e-05/0.00311, allocations: 38.88 kB / 0.8139 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.00312, allocations: 4.906 kB / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.003124, allocations: 0 / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.003136, allocations: 1.531 kB / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.00319, allocations: 4 kB / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.003194, allocations: 0 / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.307e-05/0.003207, allocations: 3.938 kB / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.003211, allocations: 1.219 kB / 0.8139 GB, free: 15.43 MB / 0.7761 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.306e-05/0.003275, allocations: 156.6 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.003281, allocations: 11.94 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.003299, allocations: 6.125 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.003301, allocations: 0 / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.003303, allocations: 0 / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.003306, allocations: 0 / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.074e-05/0.003356, allocations: 120.5 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.003358, allocations: 3.984 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/0.003373, allocations: 8 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.003374, allocations: 3.938 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.003381, allocations: 4.484 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.003382, allocations: 1.938 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.003383, allocations: 3.984 kB / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.706e-05/0.00344, allocations: 68.39 kB / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-06/0.003444, allocations: 4 kB / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.003454, allocations: 4.828 kB / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-06/0.003463, allocations: 4 kB / 0.8143 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.003474, allocations: 0 / 0.8143 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.003476, allocations: 0.8438 kB / 0.8143 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.548e-05/0.003502, allocations: 119.2 kB / 0.8144 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.003502, allocations: 0.6562 kB / 0.8144 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001101/0.003612, allocations: 0 / 0.8144 GB, free: 14.86 MB / 0.7761 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 6.887e-05/0.003681, allocations: 101.7 kB / 0.8145 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.905e-05/0.00375, allocations: 19.61 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.003751, allocations: 0 / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/0.003762, allocations: 14.62 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.311e-05/0.003855, allocations: 2.391 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001637/0.004019, allocations: 91.2 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.675e-05/0.004046, allocations: 55.34 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.004066, allocations: 0.9375 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.004085, allocations: 13.59 kB / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.004085, allocations: 0 / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.001643/0.005729, allocations: 254.2 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.140644978033379]