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.005159/0.005159, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001347/0.001347, allocations: 198.8 kB / 16.68 MB, free: 5.969 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.742/2.742, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.91 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2776, allocations: 151.6 MB / 1.166 GB, free: 7.438 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001653/0.2793, allocations: 0.5944 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 3.947e-05/0.2793, allocations: 0 / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.2794, allocations: 0 / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.2794, allocations: 4 kB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-06/0.2794, allocations: 0 / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3e-05/0.2794, allocations: 0 / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.7e-05/0.2795, allocations: 4 kB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.2795, allocations: 0 / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.478e-05/0.2795, allocations: 0 / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.884e-05/0.2796, allocations: 4 kB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2796, allocations: 4 kB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-06/0.2796, allocations: 0 / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.2796, allocations: 3.938 kB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.2796, allocations: 0 / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.307e-05/0.2797, allocations: 3.984 kB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2797, allocations: 0 / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2797, allocations: 0 / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2797, allocations: 0 / 1.167 GB, free: 6.816 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.0003247/0.28, allocations: 311.6 kB / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2801, allocations: 8.031 kB / 1.167 GB, free: 6.453 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.2801, allocations: 42.69 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.734e-05/0.2802, allocations: 0.9375 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2803, allocations: 168.4 kB / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2803, allocations: 384 / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-06/0.2803, allocations: 384 / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.905e-05/0.2804, allocations: 26.27 kB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2804, allocations: 7.938 kB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.2804, allocations: 0 / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2804, allocations: 0 / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.521e-05/0.2804, allocations: 4 kB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.2806, allocations: 145.7 kB / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.398e-05/0.2807, allocations: 26.53 kB / 1.167 GB, free: 5.93 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.2807, allocations: 4.859 kB / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.2807, allocations: 4.062 kB / 1.167 GB, free: 5.918 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.2807, allocations: 34.56 kB / 1.167 GB, free: 5.875 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2807, allocations: 4 kB / 1.167 GB, free: 5.871 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.2809, allocations: 49.52 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.2809, allocations: 55.34 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.677e-05/0.281, allocations: 89.86 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.281, allocations: 29.64 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.281, allocations: 80.14 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.2811, allocations: 8.078 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.2811, allocations: 10.06 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2812, allocations: 319 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.2813, allocations: 4 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.2813, allocations: 4 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.2813, allocations: 4.859 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2813, allocations: 0 / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.446e-05/0.2814, allocations: 33.7 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2814, allocations: 9.969 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2814, allocations: 3.938 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2814, allocations: 4.094 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/0.2815, allocations: 4 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/0.2815, allocations: 0 / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.2815, allocations: 3.984 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.2815, allocations: 0 / 1.168 GB, free: 5.113 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.404e-05/0.2816, allocations: 109.8 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-06/0.2816, allocations: 0 / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.2816, allocations: 11.06 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2816, allocations: 0 / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2816, allocations: 4 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.2816, allocations: 0 / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.2817, allocations: 145.7 kB / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2817, allocations: 0 / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.171e-05/0.2818, allocations: 4 kB / 1.168 GB, free: 4.785 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.2818, allocations: 0 / 1.168 GB, free: 4.785 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.2818, allocations: 3.938 kB / 1.168 GB, free: 4.781 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.2818, allocations: 0 / 1.168 GB, free: 4.781 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2818, allocations: 3.984 kB / 1.168 GB, free: 4.777 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.072e-05/0.2819, allocations: 65.08 kB / 1.168 GB, free: 4.695 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.2819, allocations: 81.09 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.2819, allocations: 3.938 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-06/0.2819, allocations: 4 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-06/0.2819, allocations: 0 / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.282, allocations: 0 / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.172e-05/0.282, allocations: 79.22 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.282, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001883/0.2822, allocations: 4 kB / 1.169 GB, free: 4.508 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.0003741/0.2826, allocations: 0.6 MB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.075e-05/0.2826, allocations: 7.938 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2827, allocations: 0 / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.183e-06/0.2827, allocations: 4.094 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.2828, allocations: 8.062 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.2831, allocations: 98.59 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.2834, allocations: 0.6729 MB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.181e-05/0.2834, allocations: 4 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.2834, allocations: 7.438 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.2834, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.3045, allocations: 0.8804 MB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.093, allocations: 6.719 kB / 1.171 GB, free: 2.195 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