Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Time.Examples.ModelTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_11_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.001427/0.001433, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 187.4 kB / 16.66 MB, free: 6.59 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.902/2.902, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.83 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2982, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001656/0.2999, allocations: 0.5867 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.151e-05/0.3, allocations: 0 / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.3, allocations: 4 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.3001, allocations: 3.938 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-06/0.3001, allocations: 0 / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.725e-05/0.3001, allocations: 4 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.782e-05/0.3002, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.3002, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.3003, allocations: 4 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.3003, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.3003, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.646e-06/0.3003, allocations: 4 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.3003, allocations: 3.984 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.3003, allocations: 7.938 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.316e-05/0.3004, allocations: 0 / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3004, allocations: 0 / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3004, allocations: 0 / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.3004, allocations: 0 / 1.221 GB, free: 13.72 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.0003098/0.3007, allocations: 311.5 kB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3008, allocations: 8.031 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.3008, allocations: 30.75 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.3008, allocations: 8.922 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.301, allocations: 168.4 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.301, allocations: 4.375 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.301, allocations: 4.312 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.339e-05/0.3011, allocations: 26.27 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3011, allocations: 7.875 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.3011, allocations: 0 / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3011, allocations: 4 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.618e-05/0.3011, allocations: 3.938 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.3013, allocations: 145.7 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.062e-05/0.3013, allocations: 26.61 kB / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.3014, allocations: 4.859 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.3014, allocations: 0 / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.3014, allocations: 34.62 kB / 1.221 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.3014, allocations: 0 / 1.221 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001076/0.3015, allocations: 37.58 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3016, allocations: 55.53 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.245e-05/0.3016, allocations: 93.86 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3016, allocations: 25.7 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.3017, allocations: 85.98 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.3017, allocations: 0 / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.3017, allocations: 17.7 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3019, allocations: 310.8 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-06/0.3019, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-06/0.3019, allocations: 4 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.261e-05/0.3019, allocations: 12.92 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3019, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.227e-05/0.302, allocations: 37.64 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.302, allocations: 4 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.302, allocations: 3.938 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.302, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.422e-05/0.3021, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3021, allocations: 11.97 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.3021, allocations: 4.031 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.3021, allocations: 0 / 1.222 GB, free: 12.03 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 7.165e-05/0.3022, allocations: 105.8 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.3022, allocations: 4 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.251e-05/0.3022, allocations: 7.062 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3022, allocations: 4 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3022, allocations: 3.938 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.3023, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.3024, allocations: 149.7 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3024, allocations: 0 / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.3024, allocations: 8 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3024, allocations: 0 / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3024, allocations: 3.938 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3024, allocations: 0 / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3024, allocations: 3.938 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.546e-05/0.3025, allocations: 57.08 kB / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.3025, allocations: 85.09 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.3026, allocations: 7.969 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.3026, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.3026, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-06/0.3026, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.164e-05/0.3026, allocations: 75.28 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3026, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002097/0.3028, allocations: 4 kB / 1.223 GB, free: 11.43 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.0003683/0.3032, allocations: 0.5973 MB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.984e-05/0.3033, allocations: 4 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3033, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-06/0.3033, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.3034, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.3037, allocations: 114.6 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.304, allocations: 0.6729 MB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.009e-05/0.304, allocations: 0 / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/0.304, allocations: 11.44 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.304, allocations: 0 / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.3246, allocations: 0.8784 MB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.07, allocations: 14.56 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches