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: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007967/0.007967, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.838/2.838, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 6.344 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3867, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.000858/0.3876, allocations: 331.4 kB / 1.059 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.461e-05/0.3876, allocations: 4 kB / 1.059 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.558e-05/0.3877, allocations: 0 / 1.059 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.3877, allocations: 0 / 1.059 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.107e-06/0.3877, allocations: 4 kB / 1.059 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.418e-05/0.3878, allocations: 3.938 kB / 1.059 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.29e-05/0.3879, allocations: 4 kB / 1.059 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.123e-05/0.3879, allocations: 0 / 1.059 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.096e-05/0.388, allocations: 0 / 1.059 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.783e-05/0.388, allocations: 0 / 1.059 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.388, allocations: 0 / 1.059 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.578e-06/0.388, allocations: 0 / 1.059 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.388, allocations: 0 / 1.059 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.3881, allocations: 29.69 kB / 1.059 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.585e-05/0.3882, allocations: 4 kB / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3882, allocations: 4 kB / 1.059 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3882, allocations: 0 / 1.059 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3882, allocations: 0 / 1.059 GB, free: 5.117 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.0003373/0.3885, allocations: 315.5 kB / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.3886, allocations: 12.09 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.3887, allocations: 0.9375 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.3888, allocations: 160.4 kB / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3888, allocations: 384 / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.3888, allocations: 4.312 kB / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.389, allocations: 34.25 kB / 1.06 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.389, allocations: 4.188 kB / 1.06 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.389, allocations: 7.875 kB / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3891, allocations: 7.922 kB / 1.06 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.3891, allocations: 0 / 1.06 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.3893, allocations: 145.7 kB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.417e-05/0.3894, allocations: 18.61 kB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.3894, allocations: 16.8 kB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.3894, allocations: 4.062 kB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3895, allocations: 30.56 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3895, allocations: 0 / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001732/0.3897, allocations: 41.62 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.3897, allocations: 51.41 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.941e-05/0.3898, allocations: 89.86 kB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3898, allocations: 25.83 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.3898, allocations: 84.14 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.3899, allocations: 4 kB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.3899, allocations: 9.719 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.39, allocations: 310.8 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.39, allocations: 3.938 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-06/0.3901, allocations: 0 / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.3901, allocations: 12.86 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3901, allocations: 4.062 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.188e-05/0.3902, allocations: 33.69 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3902, allocations: 8 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3902, allocations: 0 / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3902, allocations: 3.938 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.3903, allocations: 0 / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3903, allocations: 0 / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.3903, allocations: 0 / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.3903, allocations: 4 kB / 1.06 GB, free: 3.473 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 7.508e-05/0.3904, allocations: 119.3 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.3904, allocations: 0 / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.3905, allocations: 11.06 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3905, allocations: 0 / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3905, allocations: 3.984 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3905, allocations: 4 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.3906, allocations: 141.7 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3906, allocations: 0 / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.3906, allocations: 3.938 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3906, allocations: 0 / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3907, allocations: 7.938 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3907, allocations: 4 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3907, allocations: 0 / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.456e-05/0.3908, allocations: 61.06 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.3908, allocations: 77.11 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.3908, allocations: 7.938 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-06/0.3909, allocations: 0 / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.3909, allocations: 0 / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.3909, allocations: 7.969 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.988e-05/0.3909, allocations: 75.28 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3909, allocations: 0 / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001959/0.3911, allocations: 0 / 1.061 GB, free: 2.867 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.000138/0.3913, allocations: 99.52 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.056e-05/0.3914, allocations: 4 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.3914, allocations: 0 / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-06/0.3914, allocations: 4.062 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.3916, allocations: 0 / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.3918, allocations: 86.61 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.3921, allocations: 0.6692 MB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.871e-05/0.3922, allocations: 3.984 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.3922, allocations: 7.438 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of SimCode: time 2.435e-06/0.3922, allocations: 0 / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of Templates: time 0.002227/0.3944, allocations: 161.2 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile (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 & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches