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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 106.7 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002299/0.002299, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 443.5 MB / 0.7287 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.91 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7676/0.7696, allocations: 160.7 MB / 1.213 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001872/0.7714, allocations: 0.586 MB / 1.214 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00024/0.7717, allocations: 52.73 kB / 1.214 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.7717, allocations: 0 / 1.214 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.959e-06/0.7717, allocations: 5.062 kB / 1.214 GB, free: 3.391 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-06/0.7717, allocations: 0 / 1.214 GB, free: 3.391 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.7719, allocations: 20.3 kB / 1.214 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.525e-05/0.772, allocations: 6.234 kB / 1.214 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.015e-05/0.772, allocations: 1.094 kB / 1.214 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.429e-05/0.772, allocations: 3.938 kB / 1.214 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.597e-05/0.772, allocations: 5.062 kB / 1.214 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.714e-06/0.772, allocations: 0 / 1.214 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.719e-05/0.7721, allocations: 19.11 kB / 1.214 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.143e-06/0.7721, allocations: 0 / 1.214 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.421e-05/0.7721, allocations: 5.25 kB / 1.214 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 7.542e-05/0.7722, allocations: 21.42 kB / 1.214 GB, free: 3.336 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7722, allocations: 1.125 kB / 1.214 GB, free: 3.336 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7722, allocations: 0 / 1.214 GB, free: 3.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.7722, allocations: 0 / 1.214 GB, free: 3.336 MB / 0.92 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.0003513/0.7726, allocations: 316.9 kB / 1.214 GB, free: 2.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.7726, allocations: 10.47 kB / 1.214 GB, free: 2.98 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.7726, allocations: 34.73 kB / 1.214 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.7729, allocations: 22.69 kB / 1.214 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.773, allocations: 164.4 kB / 1.214 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-06/0.773, allocations: 384 / 1.214 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.773, allocations: 1.5 kB / 1.214 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.7731, allocations: 38.47 kB / 1.214 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7732, allocations: 3.938 kB / 1.214 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.7732, allocations: 0 / 1.214 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.7732, allocations: 1.188 kB / 1.214 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.679e-05/0.7732, allocations: 17.08 kB / 1.214 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.7734, allocations: 150.6 kB / 1.214 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.256e-05/0.7735, allocations: 18.73 kB / 1.214 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.7735, allocations: 16.16 kB / 1.214 GB, free: 2.438 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.7735, allocations: 0 / 1.214 GB, free: 2.438 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.7736, allocations: 31.56 kB / 1.214 GB, free: 2.398 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.7736, allocations: 4.969 kB / 1.214 GB, free: 2.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002321/0.7738, allocations: 52.23 kB / 1.215 GB, free: 2.348 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.7738, allocations: 56.36 kB / 1.215 GB, free: 2.281 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.458e-05/0.7739, allocations: 89.86 kB / 1.215 GB, free: 2.184 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.7739, allocations: 25.7 kB / 1.215 GB, free: 2.152 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.774, allocations: 81.3 kB / 1.215 GB, free: 2.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.774, allocations: 0 / 1.215 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.774, allocations: 16.09 kB / 1.215 GB, free: 2.051 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.7742, allocations: 311.9 kB / 1.215 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.7742, allocations: 6.203 kB / 1.215 GB, free: 1.734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.7743, allocations: 7.406 kB / 1.215 GB, free: 1.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.101e-05/0.7744, allocations: 19.41 kB / 1.215 GB, free: 1.715 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7744, allocations: 64 / 1.215 GB, free: 1.715 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001245/0.7745, allocations: 43.59 kB / 1.215 GB, free: 1.676 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.7745, allocations: 5.281 kB / 1.215 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7745, allocations: 3.938 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.7745, allocations: 4.656 kB / 1.215 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.7746, allocations: 7.141 kB / 1.215 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.7746, allocations: 0 / 1.215 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.7746, allocations: 2.156 kB / 1.215 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.7746, allocations: 0 / 1.215 GB, free: 1.664 MB / 0.92 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.681e-05/0.7747, allocations: 114.9 kB / 1.215 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.7747, allocations: 5.047 kB / 1.215 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.7748, allocations: 7.062 kB / 1.215 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7748, allocations: 1.094 kB / 1.215 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.7748, allocations: 0 / 1.215 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.7748, allocations: 1.094 kB / 1.215 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.7749, allocations: 146.8 kB / 1.215 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7749, allocations: 0 / 1.215 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.7749, allocations: 7.328 kB / 1.215 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7749, allocations: 7.938 kB / 1.215 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.775, allocations: 5 kB / 1.215 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.775, allocations: 0 / 1.215 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.775, allocations: 0 / 1.215 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.7751, allocations: 68.08 kB / 1.216 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.7752, allocations: 81.11 kB / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.7752, allocations: 13.05 kB / 1.216 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.377e-05/0.7752, allocations: 1.062 kB / 1.216 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.7752, allocations: 1.125 kB / 1.216 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.7752, allocations: 0 / 1.216 GB, free: 1.137 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.7753, allocations: 80.28 kB / 1.216 GB, free: 1.059 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.7753, allocations: 0 / 1.216 GB, free: 1.059 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001793/0.7755, allocations: 1.219 kB / 1.216 GB, free: 1.059 MB / 0.92 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.0004905/0.776, allocations: 0.6047 MB / 1.216 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.7761, allocations: 12.33 kB / 1.216 GB, free: 456 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7761, allocations: 0 / 1.216 GB, free: 456 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.683e-05/0.7761, allocations: 12.27 kB / 1.216 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.7763, allocations: 7.172 kB / 1.216 GB, free: 444 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.7766, allocations: 119.3 kB / 1.216 GB, free: 296 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.777, allocations: 0.6701 MB / 1.217 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.122e-05/0.777, allocations: 2.156 kB / 1.217 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.777, allocations: 11.44 kB / 1.217 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.777, allocations: 0 / 1.217 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.8001, allocations: 0.963 MB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/9.136, allocations: 3.297 kB / 1.218 GB, free: 15 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.094140109140426]