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.001309/0.001309, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001575/0.001575, allocations: 173 kB / 23.36 MB, free: 1.133 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.9585/0.9585, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.528/2.528, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.062e-06/1.062e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.648e-06/1.071e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0009295/0.0009402, allocations: 0.6133 MB / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001441/0.001084, allocations: 59.73 kB / 0.8393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-06/0.001093, allocations: 0 / 0.8393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.404e-06/0.001101, allocations: 0 / 0.8393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.536e-06/0.001104, allocations: 0 / 0.8393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.001235, allocations: 15.98 kB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 2.598e-05/0.001261, allocations: 3.984 kB / 0.8393 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.127e-05/0.001282, allocations: 0 / 0.8393 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.001299, allocations: 4 kB / 0.8393 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.62e-05/0.001316, allocations: 0 / 0.8393 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.195e-06/0.001324, allocations: 0 / 0.8393 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-05/0.001391, allocations: 19.98 kB / 0.8393 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.317e-06/0.0014, allocations: 4 kB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.525e-06/0.001408, allocations: 3.938 kB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.544e-05/0.001463, allocations: 23.89 kB / 0.8394 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.001466, allocations: 4 kB / 0.8394 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.91e-07/0.001466, allocations: 0 / 0.8394 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.001469, allocations: 0 / 0.8394 GB, free: 13.45 MB / 0.8073 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.000153/0.001622, allocations: 208.8 kB / 0.8396 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.001651, allocations: 8.625 kB / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.001805, allocations: 12.92 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.938e-05/0.001855, allocations: 113.8 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.001862, allocations: 384 / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-06/0.001869, allocations: 4.312 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.891e-05/0.001938, allocations: 50.95 kB / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.001944, allocations: 192 / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-06/0.001948, allocations: 384 / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.001953, allocations: 384 / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.001973, allocations: 11.88 kB / 0.8397 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.862e-05/0.002022, allocations: 53.05 kB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.827e-05/0.00205, allocations: 22.61 kB / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-06/0.00206, allocations: 4.859 kB / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-06/0.002069, allocations: 0 / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.002087, allocations: 34.62 kB / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.002088, allocations: 0 / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 5.838e-05/0.002146, allocations: 37.62 kB / 0.8399 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.002171, allocations: 51.41 kB / 0.8399 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.53e-05/0.002196, allocations: 89.86 kB / 0.84 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.002206, allocations: 25.7 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.044e-05/0.002227, allocations: 88.27 kB / 0.8401 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.002251, allocations: 8.297 kB / 0.8401 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.00227, allocations: 13.7 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.009e-05/0.00234, allocations: 314.8 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.002349, allocations: 7.984 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.002354, allocations: 0 / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.276e-05/0.002376, allocations: 8.859 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.002378, allocations: 0 / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.93e-05/0.002407, allocations: 37.7 kB / 0.8405 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/0.002416, allocations: 4 kB / 0.8405 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.002419, allocations: 0 / 0.8405 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.002426, allocations: 7.984 kB / 0.8405 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.247e-05/0.002459, allocations: 0 / 0.8405 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.002462, allocations: 0 / 0.8405 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.002477, allocations: 4 kB / 0.8405 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.002483, allocations: 4 kB / 0.8405 GB, free: 12.09 MB / 0.8073 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 4.556e-05/0.002528, allocations: 109.8 kB / 0.8406 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-06/0.002532, allocations: 0 / 0.8406 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.00255, allocations: 7.031 kB / 0.8406 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.002552, allocations: 4 kB / 0.8406 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.002555, allocations: 7.922 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.002558, allocations: 0 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.496e-05/0.002603, allocations: 65.78 kB / 0.8407 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.002603, allocations: 0 / 0.8407 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.002614, allocations: 4 kB / 0.8407 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.42e-07/0.002615, allocations: 0 / 0.8407 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.002619, allocations: 4 kB / 0.8407 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.002621, allocations: 3.984 kB / 0.8407 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.002622, allocations: 0 / 0.8407 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.466e-05/0.002666, allocations: 69 kB / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-06/0.002669, allocations: 0 / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.002678, allocations: 7.984 kB / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-06/0.002685, allocations: 0 / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-06/0.002695, allocations: 3.984 kB / 0.8408 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-06/0.002696, allocations: 0 / 0.8408 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.51e-06/0.002702, allocations: 4.859 kB / 0.8408 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.002702, allocations: 0 / 0.8408 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 8.714e-05/0.002789, allocations: 4 kB / 0.8408 GB, free: 11.75 MB / 0.8073 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 5.964e-05/0.002848, allocations: 76.45 kB / 0.8409 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.913e-05/0.002898, allocations: 12.8 kB / 0.8409 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.002899, allocations: 0 / 0.8409 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-06/0.002908, allocations: 8.859 kB / 0.8409 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.494e-05/0.002953, allocations: 9.812 kB / 0.8409 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001459/0.003099, allocations: 86.44 kB / 0.841 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.012e-05/0.003129, allocations: 51.36 kB / 0.841 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.978e-05/0.003149, allocations: 8.125 kB / 0.8411 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.003184, allocations: 51.36 kB / 0.8411 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/0.003184, allocations: 0 / 0.8411 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of Templates: time 0.001423/0.004607, allocations: 274 kB / 0.8414 GB, free: 11.13 MB / 0.8073 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.269752058200538]