Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00162/0.00162, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001998/0.001998, allocations: 214.3 kB / 22.25 MB, free: 5.129 MB / 14.72 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.292/3.292, allocations: 0.49 GB / 0.7951 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 74.91 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3848, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001937/0.3867, allocations: 0.5905 MB / 1.327 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002791/0.387, allocations: 52.19 kB / 1.327 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.387, allocations: 0 / 1.327 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.387, allocations: 0 / 1.327 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.696e-06/0.3871, allocations: 3.938 kB / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.3873, allocations: 11.97 kB / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.791e-05/0.3873, allocations: 8 kB / 1.327 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.3874, allocations: 4 kB / 1.327 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.323e-05/0.3874, allocations: 4 kB / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.267e-05/0.3874, allocations: 0 / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.3874, allocations: 4 kB / 1.327 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3875, allocations: 19.97 kB / 1.327 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.757e-06/0.3876, allocations: 0 / 1.327 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.3876, allocations: 0 / 1.327 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.863e-05/0.3877, allocations: 24.19 kB / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3877, allocations: 0 / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3877, allocations: 0 / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3877, allocations: 3.938 kB / 1.327 GB, free: 1.164 MB / 1.014 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.0003067/0.388, allocations: 247.6 kB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.388, allocations: 12.03 kB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.3881, allocations: 30.75 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.3883, allocations: 20.91 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.262e-05/0.3884, allocations: 102.5 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3884, allocations: 384 / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.3884, allocations: 4.375 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3886, allocations: 38.25 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3886, allocations: 3.938 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.3886, allocations: 0 / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3886, allocations: 0 / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.59e-05/0.3887, allocations: 7.984 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.3889, allocations: 128.7 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.034e-05/0.3889, allocations: 18.61 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.389, allocations: 12.84 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.389, allocations: 4.062 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.389, allocations: 34.56 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.389, allocations: 0 / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0002508/0.3893, allocations: 57.55 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.3894, allocations: 51.41 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.223e-05/0.3894, allocations: 93.98 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3894, allocations: 25.7 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.3895, allocations: 80.14 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.3895, allocations: 3.953 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.3895, allocations: 17.66 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3897, allocations: 310.8 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.3897, allocations: 7.984 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.3898, allocations: 4 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.881e-05/0.3899, allocations: 20.84 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3899, allocations: 3.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001191/0.39, allocations: 41.62 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.39, allocations: 11.98 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.39, allocations: 3.938 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.39, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.3901, allocations: 8.094 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3901, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.3902, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3902, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 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 8.59e-05/0.3903, allocations: 114.4 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.3903, allocations: 0 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.3903, allocations: 6.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3903, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3903, allocations: 4 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3903, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.3904, allocations: 120.8 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3904, allocations: 3.984 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.3905, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3905, allocations: 4 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3905, allocations: 3.938 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3905, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3905, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.3906, allocations: 77.05 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.3906, allocations: 3.938 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3906, allocations: 3.938 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.131e-05/0.3907, allocations: 3.984 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-06/0.3907, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3907, allocations: 4 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.3907, allocations: 75.28 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3907, allocations: 4.031 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001702/0.3909, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 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.0004719/0.3914, allocations: 0.6006 MB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.3915, allocations: 16.02 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3915, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.243e-05/0.3916, allocations: 7.984 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.3917, allocations: 7.938 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.3921, allocations: 114.5 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.3925, allocations: 0.669 MB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.3925, allocations: 8.125 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.3925, allocations: 11.42 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3925, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.4253, allocations: 1.05 MB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.05, allocations: 6.094 kB / 1.331 GB, free: 12.64 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.20913905999987]