Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_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.001079/0.001079, 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.001103/0.001103, allocations: 192.7 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7346 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.22 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3038, allocations: 157.4 MB / 1.053 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00203/0.3059, allocations: 0.5959 MB / 1.053 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.567e-05/0.306, allocations: 7.875 kB / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.306, allocations: 0 / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.3061, allocations: 0 / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.491e-06/0.3061, allocations: 0 / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.835e-05/0.3061, allocations: 0 / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.568e-05/0.3062, allocations: 12 kB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/0.3062, allocations: 4 kB / 1.053 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.536e-05/0.3063, allocations: 0 / 1.053 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.905e-05/0.3063, allocations: 0 / 1.053 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.3063, allocations: 0 / 1.053 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.817e-06/0.3063, allocations: 0 / 1.053 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.3063, allocations: 3.938 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.3064, allocations: 3.984 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.13e-05/0.3064, allocations: 0 / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3064, allocations: 4 kB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3064, allocations: 0 / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3064, allocations: 4 kB / 1.053 GB, free: 7.723 MB / 0.8106 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.0002737/0.3067, allocations: 307.5 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3068, allocations: 12.66 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.3068, allocations: 34.75 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.995e-05/0.3068, allocations: 0.9375 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.87e-05/0.3069, allocations: 160.4 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.307, allocations: 4.312 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.307, allocations: 4.312 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.3071, allocations: 38.27 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3071, allocations: 3.938 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.3071, allocations: 3.984 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3071, allocations: 0 / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.3071, allocations: 0 / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.3073, allocations: 149.7 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.83e-05/0.3073, allocations: 14.58 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.3073, allocations: 12.89 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.3073, allocations: 4 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.3074, allocations: 30.56 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.3074, allocations: 0 / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001094/0.3075, allocations: 41.62 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.3075, allocations: 55.41 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.832e-05/0.3076, allocations: 89.86 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.3076, allocations: 25.7 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/0.3076, allocations: 84.27 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.3076, allocations: 0 / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.3077, allocations: 9.719 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.3078, allocations: 314.8 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.3078, allocations: 3.938 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-06/0.3078, allocations: 0 / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.3078, allocations: 12.86 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3078, allocations: 0 / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.221e-05/0.3079, allocations: 37.75 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3079, allocations: 4 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3079, allocations: 3.938 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3079, allocations: 4 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.308, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.308, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-06/0.308, allocations: 3.938 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.308, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 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.119e-05/0.3081, allocations: 119.3 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.3081, allocations: 3.984 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.3081, allocations: 15.05 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3081, allocations: 3.938 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3081, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.3081, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.768e-05/0.3082, allocations: 150 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3082, allocations: 0 / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155e-05/0.3083, allocations: 0 / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3083, allocations: 0 / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.3083, allocations: 3.938 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3083, allocations: 4 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3083, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.463e-05/0.3084, allocations: 61.12 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.3084, allocations: 77.11 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.3084, allocations: 3.938 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-06/0.3084, allocations: 0 / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.3084, allocations: 4 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.3084, allocations: 7.969 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.416e-05/0.3085, allocations: 75.28 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.3085, allocations: 0 / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001862/0.3087, allocations: 0 / 1.055 GB, free: 5.438 MB / 0.8106 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.0003142/0.309, allocations: 0.5928 MB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.429e-05/0.309, allocations: 8.031 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3091, allocations: 0 / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.286e-06/0.3091, allocations: 7.922 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.3092, allocations: 5.719 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.3095, allocations: 106.6 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3097, allocations: 0.669 MB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.107e-05/0.3097, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.3098, allocations: 7.438 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3098, allocations: 4.125 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.3244, allocations: 0.8553 MB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/7.611, allocations: 6.375 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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