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.001452/0.001452, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001225/0.001225, allocations: 165.8 kB / 24.87 MB, free: 8.832 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 0.9819/0.9819, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.929/1.929, allocations: 377.9 MB / 0.6247 GB, free: 8.41 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.733e-06/1.733e-06, allocations: 0 / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.917e-05, allocations: 9.391 kB / 0.8128 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.00167/0.001699, allocations: 0.6008 MB / 0.8134 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002261/0.001926, allocations: 42.23 kB / 0.8135 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.001951, allocations: 4 kB / 0.8135 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.001969, allocations: 0 / 0.8135 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-06/0.001975, allocations: 0 / 0.8135 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.002195, allocations: 19.91 kB / 0.8135 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.27e-05/0.002237, allocations: 3.938 kB / 0.8135 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.002283, allocations: 9.328 kB / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.252e-05/0.002306, allocations: 0 / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.555e-05/0.002331, allocations: 0 / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.002347, allocations: 0 / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.28e-05/0.00244, allocations: 21.48 kB / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.002453, allocations: 0 / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 9.287e-06/0.002462, allocations: 0 / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.874e-05/0.002541, allocations: 31.89 kB / 0.8135 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.002544, allocations: 0.5312 kB / 0.8135 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.92e-07/0.002544, allocations: 1.156 kB / 0.8135 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.002549, allocations: 0 / 0.8135 GB, free: 0.6719 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.0002209/0.00277, allocations: 332.4 kB / 0.8139 GB, free: 316 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.002804, allocations: 8.562 kB / 0.8139 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.002984, allocations: 17.44 kB / 0.8139 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.937e-05/0.003043, allocations: 110 kB / 0.814 GB, free: 156 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.003053, allocations: 4.312 kB / 0.814 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-06/0.003058, allocations: 384 / 0.814 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.62e-05/0.003154, allocations: 48.11 kB / 0.814 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.003161, allocations: 192 / 0.814 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.003166, allocations: 384 / 0.814 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.003171, allocations: 1.312 kB / 0.814 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.547e-05/0.003186, allocations: 7.938 kB / 0.8141 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.547e-05/0.003281, allocations: 98.16 kB / 0.8141 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.988e-05/0.003321, allocations: 31.09 kB / 0.8142 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.255e-05/0.003334, allocations: 8.719 kB / 0.8142 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.003346, allocations: 0 / 0.8142 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.003367, allocations: 34.42 kB / 0.8142 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.003368, allocations: 0 / 0.8142 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.003481, allocations: 43.03 kB / 0.8143 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.003508, allocations: 51.41 kB / 0.8143 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.662e-05/0.003545, allocations: 142.2 kB / 0.8144 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.003554, allocations: 25.7 kB / 0.8145 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.003587, allocations: 128.2 kB / 0.8146 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.003611, allocations: 0 / 0.8146 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.003637, allocations: 27.31 kB / 0.8146 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.00375, allocations: 0.4913 MB / 0.8151 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.003765, allocations: 0 / 0.8151 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.003773, allocations: 4 kB / 0.8151 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.0038, allocations: 7.688 kB / 0.8151 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.003802, allocations: 0 / 0.8151 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.369e-05/0.003856, allocations: 38.03 kB / 0.8151 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.003867, allocations: 6.844 kB / 0.8152 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.003871, allocations: 1.938 kB / 0.8152 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.003879, allocations: 0 / 0.8152 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.003928, allocations: 4 kB / 0.8152 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.00393, allocations: 3.938 kB / 0.8152 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.003943, allocations: 3.984 kB / 0.8152 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.003948, allocations: 1.688 kB / 0.8152 GB, free: 14.84 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 5.946e-05/0.004007, allocations: 160.5 kB / 0.8153 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-06/0.004013, allocations: 3.953 kB / 0.8153 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.00403, allocations: 3.906 kB / 0.8153 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.004032, allocations: 0 / 0.8153 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.004033, allocations: 0 / 0.8153 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.004035, allocations: 4.531 kB / 0.8153 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.387e-05/0.004089, allocations: 102 kB / 0.8154 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.004091, allocations: 4 kB / 0.8154 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.004106, allocations: 8.828 kB / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.004107, allocations: 0 / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.004111, allocations: 0 / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004111, allocations: 1.281 kB / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004112, allocations: 0 / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.595e-05/0.004178, allocations: 77.16 kB / 0.8155 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.004183, allocations: 3.984 kB / 0.8155 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-06/0.004189, allocations: 2.625 kB / 0.8155 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-06/0.004199, allocations: 7.938 kB / 0.8155 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-06/0.004207, allocations: 0 / 0.8155 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.004209, allocations: 0 / 0.8155 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.642e-05/0.004235, allocations: 119.2 kB / 0.8156 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004235, allocations: 0 / 0.8156 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000106/0.004341, allocations: 0 / 0.8156 GB, free: 14.3 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 7.309e-05/0.004414, allocations: 98.06 kB / 0.8157 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.238e-05/0.004477, allocations: 19.67 kB / 0.8158 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.004478, allocations: 0 / 0.8158 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.004487, allocations: 11.69 kB / 0.8158 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.009e-05/0.004577, allocations: 3.938 kB / 0.8158 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001449/0.004722, allocations: 92.81 kB / 0.8159 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.06e-05/0.004753, allocations: 51.36 kB / 0.8159 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.004774, allocations: 2.219 kB / 0.8159 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.00481, allocations: 71.27 kB / 0.816 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.004811, allocations: 0 / 0.816 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of Templates: time 0.001679/0.00649, allocations: 274.6 kB / 0.8162 GB, free: 13.63 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.097764944192022]