Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007787/0.007787, allocations: 102.8 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 194.4 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.00135, allocations: 63.91 kB / 0.9504 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7697, allocations: 140.4 MB / 1.088 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001486/0.7712, allocations: 0.5751 MB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002248/0.7715, allocations: 53.52 kB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.482e-05/0.7715, allocations: 0 / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.104e-05/0.7715, allocations: 0 / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.7715, allocations: 0 / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.7717, allocations: 20.27 kB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.63e-05/0.7718, allocations: 6.875 kB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.7718, allocations: 1.875 kB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.168e-05/0.7718, allocations: 0 / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.863e-05/0.7719, allocations: 2.156 kB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.226e-06/0.7719, allocations: 0 / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.772, allocations: 20.8 kB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.772, allocations: 3.984 kB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.772, allocations: 5.125 kB / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.579e-05/0.7721, allocations: 14.52 kB / 1.088 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7721, allocations: 1.062 kB / 1.088 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7721, allocations: 4 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.7721, allocations: 0 / 1.088 GB, free: 4.836 MB / 0.8575 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.0001829/0.7723, allocations: 310.7 kB / 1.088 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.7723, allocations: 14.09 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.188e-05/0.7724, allocations: 35.27 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.7726, allocations: 23.41 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.283e-05/0.7726, allocations: 161 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.7727, allocations: 384 / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-06/0.7727, allocations: 5.781 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.7728, allocations: 39.12 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.7728, allocations: 3.938 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.7728, allocations: 0.5156 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.7728, allocations: 0 / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.568e-05/0.7729, allocations: 10.36 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.081e-05/0.773, allocations: 148.2 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.58e-05/0.7731, allocations: 29.28 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.7731, allocations: 9.094 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.7731, allocations: 5.781 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.194e-05/0.7732, allocations: 32.03 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.7732, allocations: 0 / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002233/0.7734, allocations: 55.31 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.7734, allocations: 56.11 kB / 1.089 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.201e-05/0.7734, allocations: 90.89 kB / 1.089 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-06/0.7734, allocations: 25.7 kB / 1.089 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.745e-06/0.7735, allocations: 80.14 kB / 1.089 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.7735, allocations: 5.438 kB / 1.089 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.7735, allocations: 12.27 kB / 1.089 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.273e-05/0.7735, allocations: 312.8 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.7736, allocations: 8.5 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.7736, allocations: 6 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.715e-05/0.7737, allocations: 18.39 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.7737, allocations: 0 / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001142/0.7739, allocations: 45.31 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.7739, allocations: 8.906 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.7739, allocations: 4.5 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.7739, allocations: 1.094 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.774, allocations: 4.609 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.774, allocations: 1.188 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.774, allocations: 1.828 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.774, allocations: 0 / 1.09 GB, free: 3.215 MB / 0.8575 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 3.63e-05/0.7741, allocations: 109.5 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.7741, allocations: 0 / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.7741, allocations: 11.67 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-06/0.7741, allocations: 1.438 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7741, allocations: 0 / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7741, allocations: 0.7969 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.333e-05/0.7742, allocations: 148.6 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7742, allocations: 1.25 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.7742, allocations: 4.141 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.7742, allocations: 1.062 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.7743, allocations: 4.5 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7743, allocations: 5.094 kB / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7743, allocations: 0.6562 kB / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.7744, allocations: 72.39 kB / 1.09 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.7744, allocations: 84.88 kB / 1.09 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.7744, allocations: 5.688 kB / 1.09 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.1e-05/0.7745, allocations: 1.5 kB / 1.09 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/0.7745, allocations: 5.75 kB / 1.09 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.7745, allocations: 0.6094 kB / 1.09 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.025e-05/0.7745, allocations: 80.06 kB / 1.09 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7745, allocations: 0 / 1.09 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001733/0.7747, allocations: 5 kB / 1.09 GB, free: 2.629 MB / 0.8575 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 0.0002651/0.775, allocations: 0.6039 MB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.7751, allocations: 16.92 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7751, allocations: 0 / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.7752, allocations: 6.266 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.7753, allocations: 5.188 kB / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.7756, allocations: 121.3 kB / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.7758, allocations: 0.6714 MB / 1.092 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.7758, allocations: 5.266 kB / 1.092 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.7758, allocations: 9.516 kB / 1.092 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.7759, allocations: 0 / 1.092 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.7912, allocations: 0.9411 MB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/8.378, allocations: 4.656 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches