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.001051/0.001051, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00104/0.00104, allocations: 169 kB / 24.06 MB, free: 456 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 1.042/1.042, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.089/2.089, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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 1.543e-06/1.543e-06, allocations: 1.094 kB / 0.8794 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.465e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0009798/0.0009944, allocations: 0.6184 MB / 0.88 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.001192, allocations: 44.8 kB / 0.8801 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.001209, allocations: 1.125 kB / 0.8801 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.001223, allocations: 0 / 0.8801 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.001228, allocations: 4 kB / 0.8801 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.001424, allocations: 20.97 kB / 0.8801 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.788e-05/0.001461, allocations: 0.875 kB / 0.8801 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.001501, allocations: 5 kB / 0.8801 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.031e-05/0.001521, allocations: 0 / 0.8801 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.343e-05/0.001545, allocations: 0 / 0.8801 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.001555, allocations: 0.5938 kB / 0.8801 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.353e-05/0.001639, allocations: 21.23 kB / 0.8801 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.00165, allocations: 0 / 0.8801 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.087e-06/0.001659, allocations: 0.7812 kB / 0.8801 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.745e-05/0.001727, allocations: 28.98 kB / 0.8802 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.001728, allocations: 0.875 kB / 0.8802 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.01e-07/0.001729, allocations: 0 / 0.8802 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.001732, allocations: 0 / 0.8802 GB, free: 5.25 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.0001986/0.001931, allocations: 341.3 kB / 0.8805 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.001962, allocations: 8.031 kB / 0.8805 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.002115, allocations: 14.02 kB / 0.8805 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.56e-05/0.002171, allocations: 108.6 kB / 0.8806 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.002181, allocations: 2.438 kB / 0.8806 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-06/0.002186, allocations: 384 / 0.8806 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.002277, allocations: 52.42 kB / 0.8807 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.002283, allocations: 192 / 0.8807 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-06/0.002289, allocations: 384 / 0.8807 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.002293, allocations: 384 / 0.8807 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.586e-05/0.002309, allocations: 8.891 kB / 0.8807 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.284e-05/0.002382, allocations: 97.27 kB / 0.8808 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.099e-05/0.002413, allocations: 23.81 kB / 0.8808 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.002427, allocations: 15.31 kB / 0.8808 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.002438, allocations: 3.938 kB / 0.8808 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.002456, allocations: 37.33 kB / 0.8808 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.002456, allocations: 0 / 0.8808 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.731e-05/0.002554, allocations: 37.69 kB / 0.8809 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.002579, allocations: 51.41 kB / 0.8809 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.491e-05/0.002614, allocations: 142.2 kB / 0.8811 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.002623, allocations: 25.7 kB / 0.8811 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.002648, allocations: 127.5 kB / 0.8812 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.002671, allocations: 4.297 kB / 0.8812 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.002695, allocations: 27.5 kB / 0.8812 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.002793, allocations: 0.4883 MB / 0.8817 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.002802, allocations: 0 / 0.8817 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-06/0.00281, allocations: 7.984 kB / 0.8817 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.002836, allocations: 11.62 kB / 0.8817 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.002838, allocations: 0 / 0.8817 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.851e-05/0.002877, allocations: 37.69 kB / 0.8818 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.002887, allocations: 6.5 kB / 0.8818 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.002891, allocations: 4.094 kB / 0.8818 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.002898, allocations: 0 / 0.8818 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-05/0.002944, allocations: 7.984 kB / 0.8818 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.002946, allocations: 0 / 0.8818 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.187e-05/0.002958, allocations: 0 / 0.8818 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.002962, allocations: 0 / 0.8818 GB, free: 3.398 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.545e-05/0.003017, allocations: 160.5 kB / 0.8819 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-06/0.003021, allocations: 0 / 0.8819 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.003039, allocations: 3 kB / 0.8819 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.00304, allocations: 0 / 0.8819 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.003042, allocations: 4 kB / 0.8819 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.003044, allocations: 3.938 kB / 0.882 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.191e-05/0.003096, allocations: 109.1 kB / 0.8821 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.003097, allocations: 4 kB / 0.8821 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/0.003109, allocations: 0 / 0.8821 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-07/0.00311, allocations: 4 kB / 0.8821 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.003117, allocations: 0 / 0.8821 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.5e-07/0.003117, allocations: 0 / 0.8821 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.003118, allocations: 0 / 0.8821 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.423e-05/0.003173, allocations: 77.06 kB / 0.8821 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.487e-06/0.003176, allocations: 8.031 kB / 0.8821 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-06/0.003182, allocations: 0 / 0.8821 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.00319, allocations: 0 / 0.8821 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-06/0.003198, allocations: 4 kB / 0.8821 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-06/0.0032, allocations: 0 / 0.8821 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.679e-05/0.003226, allocations: 119.2 kB / 0.8823 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.003227, allocations: 0 / 0.8823 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001087/0.003335, allocations: 0 / 0.8823 GB, free: 2.852 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 6.244e-05/0.003398, allocations: 103.2 kB / 0.8824 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.666e-05/0.003454, allocations: 19.69 kB / 0.8824 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.003455, allocations: 0 / 0.8824 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.295e-06/0.003464, allocations: 7.688 kB / 0.8824 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.564e-05/0.003549, allocations: 8.625 kB / 0.8824 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001323/0.003681, allocations: 86.69 kB / 0.8825 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.382e-05/0.003705, allocations: 55.36 kB / 0.8825 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.854e-05/0.003724, allocations: 4.125 kB / 0.8825 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.003755, allocations: 66.2 kB / 0.8826 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.003755, allocations: 0 / 0.8826 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of Templates: time 0.001513/0.005268, allocations: 290.3 kB / 0.8829 GB, free: 2.16 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.214804613031447]