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.001669/0.001669, allocations: 108 kB / 15.61 MB, free: 152 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.002007/0.002007, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.546/2.546, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 64.14 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.5457, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001675/0.5474, allocations: 0.5858 MB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.787e-05/0.5474, allocations: 4 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.5474, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.5475, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-06/0.5475, allocations: 7.938 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.638e-05/0.5475, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.5476, allocations: 3.984 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.5476, allocations: 4 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.474e-05/0.5477, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.607e-05/0.5477, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.5477, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.316e-06/0.5477, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.5477, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.5477, allocations: 7.984 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.534e-05/0.5478, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5478, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5478, allocations: 4 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.5478, allocations: 4 kB / 1.018 GB, free: 1.859 MB / 0.7637 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.0002328/0.5481, allocations: 307.5 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.5481, allocations: 12.06 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.5481, allocations: 30.75 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.831e-05/0.5482, allocations: 0.9375 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.288e-05/0.5482, allocations: 164.3 kB / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.5482, allocations: 384 / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.5483, allocations: 384 / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.652e-05/0.5483, allocations: 38.27 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.5484, allocations: 11.86 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.5484, allocations: 0 / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5484, allocations: 4 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.541e-05/0.5484, allocations: 0 / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.5485, allocations: 153.6 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.446e-05/0.5486, allocations: 18.52 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/0.5486, allocations: 16.92 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.78e-06/0.5486, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.5486, allocations: 30.56 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.5486, allocations: 0 / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001052/0.5487, allocations: 37.55 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.5488, allocations: 55.39 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.037e-05/0.5488, allocations: 93.8 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.5488, allocations: 29.83 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 1.887e-05/0.5489, allocations: 84.14 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.5489, allocations: 4 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.5489, allocations: 9.719 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.324e-05/0.549, allocations: 310.8 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-06/0.549, allocations: 4 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-06/0.549, allocations: 0 / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.549, allocations: 8.859 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5491, allocations: 4.062 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.575e-05/0.5491, allocations: 37.69 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.5491, allocations: 4 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5491, allocations: 3.938 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5491, allocations: 0 / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.991e-05/0.5492, allocations: 7.938 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.5492, allocations: 0 / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-06/0.5492, allocations: 0 / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.5492, allocations: 0 / 1.019 GB, free: 176 kB / 0.7637 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 5.6e-05/0.5493, allocations: 113.9 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-06/0.5493, allocations: 0 / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.5493, allocations: 7.062 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.5493, allocations: 0 / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5493, allocations: 0 / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5493, allocations: 0 / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.319e-05/0.5494, allocations: 155.9 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5494, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.5494, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-06/0.5495, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.5495, allocations: 7.938 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5495, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5495, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.802e-05/0.5495, allocations: 61.06 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.5496, allocations: 77.11 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.5496, allocations: 3.938 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-06/0.5496, allocations: 7.938 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.5496, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.5496, allocations: 8.031 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.5496, allocations: 75.28 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5497, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001717/0.5498, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 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.0002815/0.5501, allocations: 0.5929 MB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.948e-05/0.5502, allocations: 7.938 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5502, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.97e-06/0.5502, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.5503, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.5506, allocations: 118.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.5507, allocations: 0.669 MB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.767e-06/0.5508, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.5508, allocations: 11.56 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5508, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.5651, allocations: 0.8519 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/7.406, allocations: 10.22 kB / 1.022 GB, free: 13.26 MB / 0.7794 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) "" Variables in the reference:time,modTim.y Variables in the result:time,modTim.y