Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_10_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.00538/0.00538, allocations: 96.8 kB / 15.73 MB, free: 5.547 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.001202/0.001202, allocations: 190 kB / 16.67 MB, free: 5.48 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 68.11 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8286, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002092/0.8308, allocations: 0.5883 MB / 1.167 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000338/0.8311, allocations: 49.77 kB / 1.167 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.8312, allocations: 0 / 1.167 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.8312, allocations: 4 kB / 1.167 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.594e-06/0.8312, allocations: 0 / 1.167 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.8315, allocations: 15.92 kB / 1.167 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.928e-05/0.8316, allocations: 0 / 1.167 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.8316, allocations: 0 / 1.167 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.552e-05/0.8317, allocations: 7.938 kB / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.517e-05/0.8317, allocations: 0 / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.8317, allocations: 0 / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.8319, allocations: 27.97 kB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.8319, allocations: 4 kB / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.8319, allocations: 3.984 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.832, allocations: 7.984 kB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.832, allocations: 0 / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.084e-06/0.832, allocations: 4 kB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.832, allocations: 0 / 1.167 GB, free: 3.059 MB / 0.8887 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.0003572/0.8324, allocations: 318.2 kB / 1.167 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.8325, allocations: 8.922 kB / 1.167 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.8325, allocations: 34.75 kB / 1.167 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.8328, allocations: 20.91 kB / 1.167 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.833, allocations: 160.4 kB / 1.167 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.833, allocations: 384 / 1.167 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.833, allocations: 4.375 kB / 1.167 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.8332, allocations: 42.17 kB / 1.167 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8332, allocations: 3.938 kB / 1.167 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.8332, allocations: 0 / 1.167 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8332, allocations: 0 / 1.167 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.8333, allocations: 19.92 kB / 1.167 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.8335, allocations: 145.7 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.8336, allocations: 22.59 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.8336, allocations: 4.859 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.8337, allocations: 8 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.8337, allocations: 42.5 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.8337, allocations: 0 / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002565/0.834, allocations: 53.56 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.834, allocations: 51.41 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.387e-05/0.834, allocations: 89.86 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.8341, allocations: 25.7 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.373e-05/0.8341, allocations: 80.27 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.8341, allocations: 4 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.8342, allocations: 13.72 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.8343, allocations: 318.8 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.8343, allocations: 4 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.91e-05/0.8344, allocations: 3.984 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.326e-05/0.8345, allocations: 24.84 kB / 1.168 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8345, allocations: 0 / 1.168 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001256/0.8346, allocations: 41.69 kB / 1.168 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.8347, allocations: 4 kB / 1.168 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8347, allocations: 3.938 kB / 1.168 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.8347, allocations: 0 / 1.168 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.8348, allocations: 4 kB / 1.168 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.8348, allocations: 0 / 1.168 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.8348, allocations: 3.984 kB / 1.168 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.8348, allocations: 4.031 kB / 1.168 GB, free: 1.293 MB / 0.8887 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 7.384e-05/0.8349, allocations: 113.8 kB / 1.168 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.8349, allocations: 3.984 kB / 1.168 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.835, allocations: 7.062 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.835, allocations: 0 / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.835, allocations: 0 / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.835, allocations: 3.938 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.798e-05/0.8351, allocations: 149.7 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8351, allocations: 4 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.8352, allocations: 0 / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.8352, allocations: 7.938 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.8352, allocations: 3.938 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.8352, allocations: 7.984 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8352, allocations: 0 / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.8353, allocations: 61.12 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.8354, allocations: 85.14 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.8354, allocations: 3.938 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.279e-05/0.8354, allocations: 3.984 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.8355, allocations: 0 / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.8355, allocations: 4 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.593e-05/0.8355, allocations: 79.22 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8355, allocations: 0 / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001838/0.8357, allocations: 0 / 1.169 GB, free: 0.6641 MB / 0.8887 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.0004932/0.8362, allocations: 0.6109 MB / 1.169 GB, free: 24 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.8364, allocations: 11.98 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8364, allocations: 0 / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.8365, allocations: 12.2 kB / 1.17 GB, free: 16 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.8366, allocations: 14.22 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.837, allocations: 106.6 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.8373, allocations: 0.6729 MB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.8374, allocations: 4.062 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.8374, allocations: 11.44 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8374, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.8595, allocations: 0.9339 MB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.63, allocations: 14.06 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches