Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Examples_ModelTime",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.004899/0.004899, allocations: 98.66 kB / 15.73 MB, free: 5.988 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.001129/0.001129, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.658/2.658, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2805, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001927/0.2825, allocations: 0.592 MB / 1.167 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 5.069e-05/0.2826, allocations: 4 kB / 1.167 GB, free: 6.703 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.2826, allocations: 0 / 1.167 GB, free: 6.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.2826, allocations: 3.938 kB / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-06/0.2827, allocations: 0 / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.234e-05/0.2827, allocations: 0 / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.457e-05/0.2828, allocations: 4 kB / 1.167 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.2828, allocations: 0 / 1.167 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.402e-05/0.2828, allocations: 0 / 1.167 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.158e-05/0.2829, allocations: 7.984 kB / 1.167 GB, free: 6.688 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.2829, allocations: 0 / 1.167 GB, free: 6.688 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-06/0.2829, allocations: 0 / 1.167 GB, free: 6.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.2829, allocations: 4 kB / 1.167 GB, free: 6.684 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.2829, allocations: 3.938 kB / 1.167 GB, free: 6.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.47e-05/0.283, allocations: 4 kB / 1.167 GB, free: 6.676 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.283, allocations: 0 / 1.167 GB, free: 6.676 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.024e-06/0.283, allocations: 0 / 1.167 GB, free: 6.676 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.283, allocations: 0 / 1.167 GB, free: 6.676 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.0002935/0.2833, allocations: 311.6 kB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2834, allocations: 12.03 kB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.2834, allocations: 34.69 kB / 1.167 GB, free: 6.266 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.2835, allocations: 0.9375 kB / 1.167 GB, free: 6.266 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/0.2835, allocations: 160.4 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2836, allocations: 4.375 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.2836, allocations: 384 / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.193e-05/0.2837, allocations: 34.19 kB / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2837, allocations: 3.938 kB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.2837, allocations: 0 / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2837, allocations: 0 / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.055e-05/0.2837, allocations: 12 kB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.2839, allocations: 141.7 kB / 1.167 GB, free: 5.824 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.65e-05/0.2839, allocations: 14.67 kB / 1.167 GB, free: 5.801 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.2839, allocations: 8.859 kB / 1.167 GB, free: 5.789 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.284, allocations: 0 / 1.167 GB, free: 5.789 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.284, allocations: 38.5 kB / 1.167 GB, free: 5.742 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.284, allocations: 8 kB / 1.167 GB, free: 5.734 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000124/0.2841, allocations: 41.58 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.2842, allocations: 51.41 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.166e-05/0.2842, allocations: 89.86 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.2842, allocations: 25.7 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.406e-05/0.2843, allocations: 80.14 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.2843, allocations: 4.219 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.2843, allocations: 18.06 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.2844, allocations: 318.9 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-06/0.2844, allocations: 0 / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.2845, allocations: 0 / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.2845, allocations: 12.8 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2845, allocations: 3.984 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.234e-05/0.2845, allocations: 33.7 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2846, allocations: 8 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2846, allocations: 3.938 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2846, allocations: 4.094 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.294e-05/0.2847, allocations: 0 / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2847, allocations: 0 / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.2847, allocations: 4 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.2847, allocations: 0 / 1.168 GB, free: 4.988 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 7.417e-05/0.2848, allocations: 105.8 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.2848, allocations: 0 / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.2848, allocations: 15.05 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2848, allocations: 0 / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2848, allocations: 7.938 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2848, allocations: 4 kB / 1.168 GB, free: 4.848 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.11e-05/0.2849, allocations: 149.6 kB / 1.168 GB, free: 4.652 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2849, allocations: 0 / 1.168 GB, free: 4.652 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.285, allocations: 0 / 1.168 GB, free: 4.652 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.285, allocations: 0 / 1.168 GB, free: 4.652 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.285, allocations: 7.938 kB / 1.168 GB, free: 4.645 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.285, allocations: 3.984 kB / 1.168 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.285, allocations: 0 / 1.168 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.81e-05/0.2851, allocations: 57.14 kB / 1.168 GB, free: 4.566 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.2851, allocations: 77.11 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2851, allocations: 7.938 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-06/0.2851, allocations: 4 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-06/0.2851, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.2852, allocations: 3.984 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.463e-05/0.2852, allocations: 75.28 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2852, allocations: 0 / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001922/0.2854, allocations: 0 / 1.169 GB, free: 4.383 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.0003102/0.2857, allocations: 0.5968 MB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.265e-05/0.2858, allocations: 15.92 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2858, allocations: 0 / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.252e-06/0.2858, allocations: 8.031 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.2859, allocations: 4.062 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.2862, allocations: 102.6 kB / 1.169 GB, free: 3.586 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.2865, allocations: 0.669 MB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.279e-05/0.2865, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.2865, allocations: 7.438 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of SimCode: time 3.81e-07/0.2866, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.303, allocations: 0.8905 MB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.684, allocations: 2.5 kB / 1.171 GB, free: 2.066 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_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_Time_Examples_ModelTime.fmu > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches