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.001248/0.001248, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001197/0.001197, allocations: 188.9 kB / 16.25 MB, free: 6.633 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.562/2.562, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001532, allocations: 67.89 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6972/0.6987, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001938/0.7007, allocations: 0.6625 MB / 1.018 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.111e-05/0.7007, allocations: 3.938 kB / 1.018 GB, free: 2.188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.7007, allocations: 4 kB / 1.018 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.7008, allocations: 0 / 1.018 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.7008, allocations: 0 / 1.018 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.357e-05/0.7009, allocations: 0 / 1.018 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.082e-05/0.7009, allocations: 11.94 kB / 1.018 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.618e-05/0.701, allocations: 0 / 1.018 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.428e-05/0.701, allocations: 0 / 1.018 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.1e-05/0.701, allocations: 0 / 1.018 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.701, allocations: 0 / 1.018 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.997e-06/0.7011, allocations: 0 / 1.018 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.7011, allocations: 0 / 1.018 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.7011, allocations: 8 kB / 1.018 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.224e-05/0.7012, allocations: 3.984 kB / 1.018 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7012, allocations: 0 / 1.018 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7012, allocations: 0 / 1.018 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.7012, allocations: 0 / 1.018 GB, free: 2.16 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.0003432/0.7015, allocations: 315.6 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.7016, allocations: 8.031 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.7017, allocations: 30.75 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.7017, allocations: 0.9375 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.7018, allocations: 160.4 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.7018, allocations: 4.375 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.7018, allocations: 8.312 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.498e-05/0.7019, allocations: 30.27 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7019, allocations: 3.938 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.7019, allocations: 3.984 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.702, allocations: 0 / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.722e-05/0.702, allocations: 7.938 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.7021, allocations: 145.7 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.7022, allocations: 18.58 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.7022, allocations: 12.89 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.7022, allocations: 0 / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.7022, allocations: 30.56 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.7022, allocations: 3.938 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001313/0.7024, allocations: 49.53 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.7024, allocations: 55.53 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.375e-05/0.7025, allocations: 89.86 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.7025, allocations: 25.7 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.7025, allocations: 80.14 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.7026, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.7026, allocations: 13.72 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7027, allocations: 310.8 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.7027, allocations: 3.938 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.7027, allocations: 8 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.274e-05/0.7028, allocations: 8.859 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7028, allocations: 0 / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.696e-05/0.7028, allocations: 33.69 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.7028, allocations: 8 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.7028, allocations: 3.938 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.7029, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.121e-05/0.7029, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.7029, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.7029, allocations: 4.094 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.7029, allocations: 4 kB / 1.019 GB, free: 484 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 6.925e-05/0.703, allocations: 110.3 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.703, allocations: 4 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.845e-05/0.7031, allocations: 11.05 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.7031, allocations: 0 / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7031, allocations: 0 / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.7031, allocations: 4 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.608e-05/0.7032, allocations: 144.1 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.7032, allocations: 0 / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.005e-05/0.7032, allocations: 4 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.7032, allocations: 3.938 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.7032, allocations: 3.938 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.7032, allocations: 4 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7032, allocations: 0 / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.017e-05/0.7033, allocations: 57.12 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.7033, allocations: 77.11 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.7034, allocations: 7.969 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-06/0.7034, allocations: 8 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.7034, allocations: 3.938 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.7034, allocations: 0 / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.031e-05/0.7034, allocations: 75.28 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7034, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001987/0.7036, allocations: 3.938 kB / 1.02 GB, free: 15.87 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.0002928/0.7039, allocations: 0.5929 MB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.09e-05/0.704, allocations: 4 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.704, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-06/0.704, allocations: 11.92 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.7042, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.7045, allocations: 114.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.7047, allocations: 0.669 MB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.163e-05/0.7047, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.7047, allocations: 7.438 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.7047, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7718/1.477, allocations: 0.7757 MB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/1.477, allocations: 208.2 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.963, allocations: 0 / 1.022 GB, free: 13.42 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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:modTim.y,time