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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008716/0.008716, allocations: 98.3 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00252/0.00252, allocations: 196.7 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.796/2.796, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 76.25 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2728, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.00159/0.2744, allocations: 0.572 MB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002492/0.2747, allocations: 59.73 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.462e-05/0.2747, allocations: 0 / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.2747, allocations: 0 / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.2747, allocations: 0 / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.275, allocations: 11.92 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.03e-05/0.275, allocations: 11.97 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.2751, allocations: 3.938 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.128e-05/0.2751, allocations: 0 / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.223e-05/0.2751, allocations: 8 kB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.975e-06/0.2751, allocations: 0 / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.389e-05/0.2752, allocations: 19.98 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.016e-06/0.2752, allocations: 0 / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.238e-05/0.2752, allocations: 0 / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.75e-05/0.2753, allocations: 19.95 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2753, allocations: 4 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2753, allocations: 0 / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2753, allocations: 0 / 1.221 GB, free: 13.59 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.0002938/0.2756, allocations: 315.5 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2757, allocations: 12.03 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.2757, allocations: 34.69 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.276, allocations: 20.91 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2761, allocations: 168.4 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.2761, allocations: 384 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-06/0.2761, allocations: 384 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.2762, allocations: 38.19 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.2762, allocations: 3.938 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.2763, allocations: 0 / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2763, allocations: 8 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.145e-05/0.2764, allocations: 11.98 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.2765, allocations: 141.7 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.2766, allocations: 22.59 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.2767, allocations: 10.77 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.2767, allocations: 3.984 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.2767, allocations: 42.5 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2767, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002243/0.277, allocations: 41.62 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.277, allocations: 51.41 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.294e-05/0.2771, allocations: 89.86 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2771, allocations: 29.7 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.2771, allocations: 88.25 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.2771, allocations: 0 / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.2772, allocations: 13.72 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2773, allocations: 314.8 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/0.2774, allocations: 0 / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.35e-05/0.2774, allocations: 7.984 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.2775, allocations: 24.84 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2775, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001335/0.2777, allocations: 37.69 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2777, allocations: 7.938 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2777, allocations: 7.938 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.2777, allocations: 0 / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.2778, allocations: 3.984 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2778, allocations: 4 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.2778, allocations: 4.031 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.2779, allocations: 0 / 1.222 GB, free: 11.82 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 6.897e-05/0.2779, allocations: 113.8 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.2779, allocations: 4 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.278, allocations: 11.05 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.278, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.278, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.278, allocations: 3.938 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.965e-05/0.2781, allocations: 141.7 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2781, allocations: 8 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.2782, allocations: 7.984 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2782, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.2782, allocations: 3.938 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2782, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2782, allocations: 4 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.2784, allocations: 65.12 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.2784, allocations: 81.09 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.2784, allocations: 3.938 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.368e-05/0.2785, allocations: 4 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-06/0.2785, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.2785, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.188e-05/0.2785, allocations: 75.28 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2785, allocations: 0 / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001781/0.2787, allocations: 4 kB / 1.223 GB, free: 11.21 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.0004459/0.2792, allocations: 0.609 MB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.2793, allocations: 15.98 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2793, allocations: 0 / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.948e-05/0.2794, allocations: 16.02 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.2795, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.2798, allocations: 110.5 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.2801, allocations: 0.6729 MB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.2801, allocations: 8.047 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.2802, allocations: 7.438 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.2802, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.2999, allocations: 0.9627 MB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/7.727, allocations: 4.453 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.csv","/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) Reference file matches