Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001463/0.001463, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001727/0.001727, allocations: 217 kB / 22.25 MB, free: 4.852 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.841/2.841, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_11_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.00215/0.00215, allocations: 68.14 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3692, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001983/0.3712, allocations: 0.5867 MB / 1.283 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002904/0.3715, allocations: 51.73 kB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.3715, allocations: 0 / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.3715, allocations: 0 / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.845e-06/0.3715, allocations: 0 / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3718, allocations: 19.92 kB / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.7e-05/0.3718, allocations: 4 kB / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.597e-05/0.3719, allocations: 0 / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.579e-05/0.3719, allocations: 0 / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.38e-05/0.3719, allocations: 4 kB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.372, allocations: 0 / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.3721, allocations: 15.98 kB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.3721, allocations: 3.984 kB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.3721, allocations: 4 kB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3722, allocations: 17.66 kB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3722, allocations: 0 / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3722, allocations: 0 / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3722, allocations: 4 kB / 1.283 GB, free: 11.71 MB / 0.9825 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.0003595/0.3726, allocations: 241.9 kB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3726, allocations: 8.031 kB / 1.284 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.3727, allocations: 30.75 kB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.3729, allocations: 24.83 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.373, allocations: 118.5 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.373, allocations: 384 / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.373, allocations: 384 / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3732, allocations: 38.25 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3732, allocations: 3.938 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.3732, allocations: 0 / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3732, allocations: 0 / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.3733, allocations: 11.98 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.3735, allocations: 120.8 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.3735, allocations: 26.53 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.3736, allocations: 9.016 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.3736, allocations: 4 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3736, allocations: 30.56 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3736, allocations: 4 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002369/0.3739, allocations: 45.61 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.3739, allocations: 55.41 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.32e-05/0.374, allocations: 101.8 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.374, allocations: 25.7 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.374, allocations: 80.14 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.3741, allocations: 8.078 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.3741, allocations: 17.7 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3742, allocations: 310.8 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.3743, allocations: 4 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.805e-05/0.3743, allocations: 3.984 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.882e-05/0.3744, allocations: 20.84 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3744, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001238/0.3745, allocations: 41.75 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.3746, allocations: 8 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.3746, allocations: 3.938 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3746, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.3747, allocations: 7.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3747, allocations: 7.922 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.3747, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.3747, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 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.989e-05/0.3748, allocations: 109.8 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.3748, allocations: 4.031 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.3748, allocations: 6.938 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3748, allocations: 0 / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3748, allocations: 0 / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.3748, allocations: 0 / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.3749, allocations: 124.8 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3749, allocations: 3.938 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.375, allocations: 4 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.375, allocations: 0 / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.375, allocations: 3.938 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.375, allocations: 4 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.375, allocations: 0 / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.3752, allocations: 73.05 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-06/0.3752, allocations: 0 / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.3752, allocations: 3.938 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.203e-05/0.3752, allocations: 4 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.3753, allocations: 3.984 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3753, allocations: 0 / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.696e-05/0.3753, allocations: 75.28 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3753, allocations: 4.031 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001764/0.3755, allocations: 4 kB / 1.285 GB, free: 9.645 MB / 0.9825 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.0004944/0.376, allocations: 0.5968 MB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.3761, allocations: 15.92 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3761, allocations: 0 / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/0.3762, allocations: 4 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.3763, allocations: 8.094 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.3767, allocations: 114.6 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.078e-05/0.3767, allocations: 59.34 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.333e-05/0.3768, allocations: 3.984 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.3768, allocations: 7.438 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3768, allocations: 4 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.4066, allocations: 1.452 MB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.8, allocations: 20.69 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.6285826661624]