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.00145/0.00145, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001512/0.001512, allocations: 165 kB / 23.01 MB, free: 1.551 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.099/2.099, allocations: 429.5 MB / 0.6732 GB, free: 4.023 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.914e-06/1.914e-06, allocations: 0 / 0.8782 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.104e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001308/0.00134, allocations: 0.6138 MB / 0.8788 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000272/0.001612, allocations: 49.23 kB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.00163, allocations: 0 / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.001653, allocations: 0.5625 kB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.243e-06/0.00166, allocations: 3.688 kB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.001913, allocations: 16.84 kB / 0.8789 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.967e-05/0.001952, allocations: 3.938 kB / 0.8789 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.001989, allocations: 0 / 0.8789 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.177e-05/0.002011, allocations: 4 kB / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.924e-05/0.00203, allocations: 0.7656 kB / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.002042, allocations: 0 / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.587e-05/0.002137, allocations: 23.97 kB / 0.8789 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.002149, allocations: 0 / 0.8789 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.002164, allocations: 5.75 kB / 0.8789 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.489e-05/0.002249, allocations: 24.56 kB / 0.8789 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.002251, allocations: 0 / 0.8789 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002252, allocations: 0 / 0.8789 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002256, allocations: 0 / 0.8789 GB, free: 5.5 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.0002294/0.002485, allocations: 338 kB / 0.8793 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.002522, allocations: 8.031 kB / 0.8793 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.002723, allocations: 18.03 kB / 0.8793 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.415e-05/0.002777, allocations: 104.6 kB / 0.8794 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.002787, allocations: 4.375 kB / 0.8794 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.002797, allocations: 2.703 kB / 0.8794 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.002905, allocations: 50.95 kB / 0.8794 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.002914, allocations: 1.219 kB / 0.8794 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.002923, allocations: 384 / 0.8795 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.002931, allocations: 5.281 kB / 0.8795 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.822e-05/0.002949, allocations: 3.938 kB / 0.8795 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.711e-05/0.003046, allocations: 111.1 kB / 0.8796 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.26e-05/0.003079, allocations: 23.06 kB / 0.8796 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.003098, allocations: 15.77 kB / 0.8796 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.003117, allocations: 0 / 0.8796 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.003136, allocations: 37.39 kB / 0.8796 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.003138, allocations: 4.75 kB / 0.8796 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.003264, allocations: 39.7 kB / 0.8797 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.003288, allocations: 51.41 kB / 0.8797 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.747e-05/0.003325, allocations: 142.2 kB / 0.8799 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.003336, allocations: 25.7 kB / 0.8799 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.003366, allocations: 127.6 kB / 0.88 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.003396, allocations: 4.297 kB / 0.88 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.003426, allocations: 25.56 kB / 0.88 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.003533, allocations: 0.4883 MB / 0.8805 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.003548, allocations: 0 / 0.8805 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.003556, allocations: 4 kB / 0.8805 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.279e-05/0.003589, allocations: 13.97 kB / 0.8805 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.003591, allocations: 0.6562 kB / 0.8805 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.958e-05/0.00364, allocations: 37.69 kB / 0.8806 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.003652, allocations: 4 kB / 0.8806 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.003656, allocations: 1.125 kB / 0.8806 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.00367, allocations: 0 / 0.8806 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.003734, allocations: 4 kB / 0.8806 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.003739, allocations: 2.469 kB / 0.8806 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.003753, allocations: 7.938 kB / 0.8806 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.00376, allocations: 4 kB / 0.8806 GB, free: 3.629 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.775e-05/0.003818, allocations: 160.6 kB / 0.8807 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-06/0.003823, allocations: 4.219 kB / 0.8807 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.003847, allocations: 3 kB / 0.8808 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.003848, allocations: 0 / 0.8808 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.003853, allocations: 4 kB / 0.8808 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.003855, allocations: 0.875 kB / 0.8808 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.285e-05/0.003908, allocations: 112.5 kB / 0.8809 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.003908, allocations: 0 / 0.8809 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/0.003924, allocations: 11.92 kB / 0.8809 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.003925, allocations: 0 / 0.8809 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.003931, allocations: 0 / 0.8809 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.003932, allocations: 0 / 0.8809 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.003932, allocations: 4 kB / 0.8809 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.151e-05/0.003994, allocations: 77.08 kB / 0.881 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-06/0.003997, allocations: 3.984 kB / 0.881 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.004006, allocations: 0 / 0.881 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-06/0.004016, allocations: 4 kB / 0.881 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.004027, allocations: 0 / 0.881 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.004029, allocations: 0 / 0.881 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.051e-05/0.00406, allocations: 119.2 kB / 0.8811 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00406, allocations: 0 / 0.8811 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001168/0.004177, allocations: 4 kB / 0.8811 GB, free: 3.062 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.267e-05/0.004249, allocations: 99.22 kB / 0.8812 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.262e-05/0.004322, allocations: 19.61 kB / 0.8812 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.004323, allocations: 0 / 0.8812 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.295e-06/0.004331, allocations: 7.688 kB / 0.8812 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.651e-05/0.004428, allocations: 4 kB / 0.8812 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.00462, allocations: 87.95 kB / 0.8813 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.826e-05/0.004648, allocations: 59.47 kB / 0.8813 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.004666, allocations: 0 / 0.8813 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.00469, allocations: 12.5 kB / 0.8814 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/0.00469, allocations: 0 / 0.8814 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of Templates: time 0.001594/0.006284, allocations: 259.8 kB / 0.8816 GB, free: 2.461 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.479590077884495]