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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004797/0.004797, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001286/0.001286, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437.1 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 68.03 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3105, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001836/0.3124, allocations: 0.5788 MB / 1.167 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002711/0.3126, allocations: 51.84 kB / 1.167 GB, free: 6.656 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.3127, allocations: 0 / 1.167 GB, free: 6.656 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.3127, allocations: 4 kB / 1.167 GB, free: 6.652 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.921e-06/0.3127, allocations: 0 / 1.167 GB, free: 6.652 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.313, allocations: 15.92 kB / 1.167 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.156e-05/0.313, allocations: 0 / 1.167 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.3131, allocations: 4 kB / 1.167 GB, free: 6.633 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.3131, allocations: 4 kB / 1.167 GB, free: 6.629 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.851e-05/0.3132, allocations: 3.938 kB / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.3132, allocations: 0 / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.3133, allocations: 19.97 kB / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.3133, allocations: 4 kB / 1.167 GB, free: 6.602 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.3133, allocations: 7.984 kB / 1.167 GB, free: 6.594 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.236e-05/0.3134, allocations: 11.98 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3134, allocations: 0 / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3134, allocations: 0 / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.3134, allocations: 0 / 1.167 GB, free: 6.582 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.0003465/0.3138, allocations: 315.7 kB / 1.167 GB, free: 6.223 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3139, allocations: 16.05 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.3139, allocations: 34.69 kB / 1.167 GB, free: 6.164 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.3142, allocations: 20.91 kB / 1.167 GB, free: 6.145 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.3143, allocations: 160.4 kB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3143, allocations: 384 / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.3143, allocations: 4.375 kB / 1.167 GB, free: 5.945 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3145, allocations: 38.25 kB / 1.167 GB, free: 5.902 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3145, allocations: 7.938 kB / 1.167 GB, free: 5.895 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.3146, allocations: 0 / 1.167 GB, free: 5.895 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3146, allocations: 0 / 1.167 GB, free: 5.895 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.025e-05/0.3147, allocations: 11.98 kB / 1.167 GB, free: 5.883 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.3148, allocations: 149.7 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.552e-05/0.3149, allocations: 18.92 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.315, allocations: 12.84 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.315, allocations: 7.984 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.3151, allocations: 38.56 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3151, allocations: 3.938 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000267/0.3153, allocations: 57.5 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3154, allocations: 51.41 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.151e-05/0.3154, allocations: 89.86 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3155, allocations: 25.7 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.3155, allocations: 80.14 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.3155, allocations: 128 / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.3156, allocations: 25.72 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3158, allocations: 310.8 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.92e-05/0.3158, allocations: 7.984 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.67e-05/0.3159, allocations: 0 / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.316, allocations: 16.84 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.316, allocations: 64 / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001296/0.3161, allocations: 45.62 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3161, allocations: 10.66 kB / 1.168 GB, free: 4.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3162, allocations: 7.922 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3162, allocations: 0 / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.3162, allocations: 4 kB / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3163, allocations: 0 / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.3163, allocations: 0 / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3163, allocations: 4 kB / 1.168 GB, free: 4.805 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.79e-05/0.3164, allocations: 117.9 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.3164, allocations: 0 / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.3164, allocations: 7.062 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3164, allocations: 0 / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3165, allocations: 3.938 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3165, allocations: 0 / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.3166, allocations: 145.7 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3166, allocations: 0 / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.3166, allocations: 3.984 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3167, allocations: 4 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3167, allocations: 7.938 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3167, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3167, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.3169, allocations: 69.05 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.3169, allocations: 77.11 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.3169, allocations: 15.91 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.282e-05/0.317, allocations: 4 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-06/0.317, allocations: 0 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.317, allocations: 0 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.317, allocations: 75.28 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3171, allocations: 4 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001762/0.3172, allocations: 0 / 1.169 GB, free: 4.184 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.00051/0.3178, allocations: 0.6046 MB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.3179, allocations: 19.92 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3179, allocations: 0 / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.648e-05/0.318, allocations: 7.984 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.3181, allocations: 4.156 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.3185, allocations: 110.6 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.3188, allocations: 0.669 MB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.3189, allocations: 0 / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.3189, allocations: 11.42 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of SimCode: time 2.8e-07/0.3189, allocations: 8 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.343, allocations: 0.9483 MB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.356, allocations: 9.047 kB / 1.171 GB, free: 1.785 MB / 0.92 GB (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 50 --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) 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) Reference file matches