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.001749/0.001749, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002203/0.002203, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.969/2.969, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="cs",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.00227/0.00227, allocations: 62.02 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3646, allocations: 170 MB / 1.284 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002065/0.3666, allocations: 0.5858 MB / 1.285 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000284/0.3669, allocations: 51.78 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.3669, allocations: 4 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.3669, allocations: 0 / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-06/0.3669, allocations: 0 / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.3672, allocations: 15.92 kB / 1.285 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.638e-05/0.3673, allocations: 0 / 1.285 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.594e-05/0.3673, allocations: 4 kB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.556e-05/0.3673, allocations: 0 / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.274e-05/0.3673, allocations: 0 / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.3674, allocations: 0 / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.3675, allocations: 27.97 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.3675, allocations: 7.984 kB / 1.285 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.3675, allocations: 0 / 1.285 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.3676, allocations: 19.92 kB / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3676, allocations: 0 / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3676, allocations: 0 / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3676, allocations: 0 / 1.285 GB, free: 10.97 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.0003277/0.368, allocations: 234 kB / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.368, allocations: 8.031 kB / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.157e-05/0.368, allocations: 4.172 kB / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.3681, allocations: 34.75 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002622/0.3683, allocations: 24.84 kB / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.558e-05/0.3684, allocations: 106.5 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.3684, allocations: 384 / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.3684, allocations: 384 / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3686, allocations: 41.94 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.3686, allocations: 4 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3686, allocations: 3.984 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3686, allocations: 4 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.3687, allocations: 7.984 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.3689, allocations: 120.8 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.624e-05/0.369, allocations: 18.77 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.369, allocations: 12.84 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.369, allocations: 3.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.3691, allocations: 46.5 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3691, allocations: 0 / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002464/0.3693, allocations: 41.69 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.3694, allocations: 55.39 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.593e-05/0.3694, allocations: 89.86 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3695, allocations: 29.7 kB / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.3695, allocations: 84.27 kB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.3695, allocations: 3.953 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.3696, allocations: 13.72 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3697, allocations: 310.8 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.3698, allocations: 3.984 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.962e-05/0.3698, allocations: 7.938 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/0.3699, allocations: 20.91 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3699, allocations: 3.938 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001355/0.37, allocations: 41.69 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3701, allocations: 11.94 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3701, allocations: 0 / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3701, allocations: 0 / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.3702, allocations: 7.984 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3702, allocations: 0 / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.3702, allocations: 8.734 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3702, allocations: 0 / 1.286 GB, free: 9.395 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 9.561e-05/0.3703, allocations: 109.8 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.3703, allocations: 7.922 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.3703, allocations: 6.938 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3703, allocations: 0 / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3703, allocations: 0 / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3704, allocations: 0 / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.3705, allocations: 120.8 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3705, allocations: 7.938 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.3705, allocations: 3.984 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.3705, allocations: 7.938 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3705, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3705, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3705, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.3707, allocations: 61.12 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.3707, allocations: 7.984 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3707, allocations: 7.938 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.099e-05/0.3707, allocations: 0 / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.3708, allocations: 0 / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.3708, allocations: 4 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.3708, allocations: 75.28 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3708, allocations: 3.938 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001782/0.371, allocations: 0 / 1.287 GB, free: 8.91 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.0005373/0.3715, allocations: 0.6007 MB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.3717, allocations: 11.98 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3717, allocations: 96 / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.3717, allocations: 15.92 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.3719, allocations: 10.12 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.3723, allocations: 114.5 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.3727, allocations: 0.6729 MB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.3727, allocations: 4.062 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.3727, allocations: 7.438 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3727, allocations: 0 / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.3964, allocations: 1.088 MB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.48, allocations: 13.14 kB / 1.289 GB, free: 6.43 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.703936967998743]