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.001421/0.001421, allocations: 109 kB / 17.54 MB, free: 4.781 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.001411/0.001411, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.293/1.293, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] 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.322/2.322, allocations: 443.5 MB / 0.7304 GB, free: 13.94 MB / 0.5762 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.00189/0.00189, allocations: 71.88 kB / 1.059 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2587, allocations: 160.7 MB / 1.216 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001616/0.2604, allocations: 0.5824 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002195/0.2606, allocations: 51.8 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.303e-05/0.2606, allocations: 4 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.2606, allocations: 0 / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-06/0.2606, allocations: 0 / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.2608, allocations: 11.92 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.655e-05/0.2608, allocations: 8 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.2609, allocations: 3.984 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-06/0.2609, allocations: 0 / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.053e-05/0.2609, allocations: 7.984 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.324e-06/0.2609, allocations: 0 / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.261, allocations: 19.92 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.632e-06/0.261, allocations: 4 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.236e-05/0.261, allocations: 0 / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.765e-05/0.2611, allocations: 15.98 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.2611, allocations: 3.984 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2611, allocations: 0 / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2611, allocations: 0 / 1.216 GB, free: 15.18 MB / 0.9669 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.0002715/0.2614, allocations: 311.8 kB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2614, allocations: 12.03 kB / 1.217 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.2614, allocations: 30.75 kB / 1.217 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.2617, allocations: 20.91 kB / 1.217 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.2618, allocations: 172.2 kB / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-06/0.2618, allocations: 384 / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.2618, allocations: 384 / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.2619, allocations: 38.25 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2619, allocations: 3.938 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.2619, allocations: 0 / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2619, allocations: 4 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/0.262, allocations: 11.98 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.2621, allocations: 141.7 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.524e-05/0.2622, allocations: 26.53 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.2622, allocations: 12.92 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2623, allocations: 0 / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2623, allocations: 38.55 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.2623, allocations: 0 / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002198/0.2625, allocations: 49.58 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.2625, allocations: 55.34 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.116e-05/0.2626, allocations: 89.86 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2626, allocations: 33.64 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.2626, allocations: 80.14 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.2626, allocations: 8.109 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.2627, allocations: 17.7 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2628, allocations: 310.8 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.415e-05/0.2628, allocations: 8 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.2629, allocations: 7.984 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.529e-05/0.263, allocations: 16.84 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.263, allocations: 4.062 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000118/0.2631, allocations: 41.69 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2631, allocations: 4 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2631, allocations: 3.938 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2631, allocations: 4 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.2632, allocations: 7.922 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.2632, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.2632, allocations: 4 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2632, allocations: 4.031 kB / 1.218 GB, free: 13.4 MB / 0.9669 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 6.61e-05/0.2633, allocations: 105.8 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.2633, allocations: 0 / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.2633, allocations: 11.06 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2633, allocations: 0 / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2633, allocations: 3.984 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.2633, allocations: 0 / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.24e-05/0.2634, allocations: 141.7 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2634, allocations: 0 / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.2635, allocations: 15.92 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2635, allocations: 0 / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-06/0.2635, allocations: 3.938 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2635, allocations: 0 / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2635, allocations: 0 / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.2636, allocations: 69.06 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.2636, allocations: 77.11 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2636, allocations: 11.95 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.111e-05/0.2637, allocations: 4 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.2637, allocations: 3.938 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.2637, allocations: 3.984 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.916e-05/0.2637, allocations: 75.28 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.2637, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001648/0.2639, allocations: 4 kB / 1.218 GB, free: 12.79 MB / 0.9669 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.0004023/0.2643, allocations: 0.6046 MB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.2644, allocations: 19.92 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2644, allocations: 0 / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.2645, allocations: 12.08 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.2646, allocations: 3.938 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.2649, allocations: 114.6 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.2651, allocations: 0.6729 MB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.42e-05/0.2652, allocations: 0 / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.2652, allocations: 15.5 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of SimCode: time 4.2e-07/0.2652, allocations: 0 / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.2864, allocations: 0.9315 MB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/7.198, allocations: 12.75 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB " [Timeout remaining time 293] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.383799007999187]