Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.007442/0.007442, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.001758/0.001758, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.3 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 63.16 kB / 0.9504 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2873, allocations: 140.4 MB / 1.087 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003149/0.2905, allocations: 1.447 MB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009875/0.2915, allocations: 0.5079 MB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.2916, allocations: 0 / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.2916, allocations: 3.984 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.2919, allocations: 15.86 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.2921, allocations: 31.91 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.2922, allocations: 55.78 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2923, allocations: 8 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.2925, allocations: 23.97 kB / 1.09 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.2926, allocations: 23.92 kB / 1.09 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2926, allocations: 4 kB / 1.09 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.2926, allocations: 4 kB / 1.09 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.2927, allocations: 15.91 kB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.2927, allocations: 19.86 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.2928, allocations: 38.7 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.2928, allocations: 3.984 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2928, allocations: 4 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2929, allocations: 0 / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006594/0.2935, allocations: 356.2 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.2936, allocations: 15.97 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.2936, allocations: 34.73 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.2937, allocations: 0.9375 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2938, allocations: 176.3 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2938, allocations: 8.375 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.2939, allocations: 384 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.294, allocations: 61.78 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.294, allocations: 3.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2941, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2941, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.2941, allocations: 27.98 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.2946, allocations: 268.8 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.2948, allocations: 70.55 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.2949, allocations: 24.86 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.2949, allocations: 0 / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.2951, allocations: 67.38 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 4.338e-06/0.2951, allocations: 7.984 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002597/0.2954, allocations: 93.8 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.2955, allocations: 55.39 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.2955, allocations: 101.9 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.2956, allocations: 25.7 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.2956, allocations: 88.05 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.2957, allocations: 23.8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.2957, allocations: 17.72 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2958, allocations: 326.8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.2959, allocations: 16.06 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/0.2959, allocations: 19.98 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.233e-05/0.296, allocations: 32.86 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.296, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001343/0.2962, allocations: 73.61 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2962, allocations: 5.719 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2962, allocations: 4 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2962, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.2963, allocations: 11.98 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2963, allocations: 0 / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.2964, allocations: 15.91 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2964, allocations: 0 / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.899e-05/0.2965, allocations: 117.8 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.2965, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.2967, allocations: 105.5 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2967, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2967, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2968, allocations: 3.984 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2969, allocations: 193.5 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2969, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/0.297, allocations: 15.92 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.297, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.297, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.297, allocations: 7.938 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.297, allocations: 240 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.2972, allocations: 120.9 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.2972, allocations: 81.11 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.2973, allocations: 8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.27e-05/0.2973, allocations: 3.984 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.2974, allocations: 7.984 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.2974, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.2975, allocations: 83.28 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2975, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001926/0.2977, allocations: 15.91 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004444/0.2981, allocations: 0.66 MB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.2983, allocations: 55.84 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2983, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.2984, allocations: 31.98 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.2985, allocations: 4 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.2997, allocations: 1.219 MB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.2999, allocations: 0.6924 MB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.922e-05/0.3, allocations: 8.172 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.3, allocations: 23.42 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3, allocations: 0 / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.3188, allocations: 1.659 MB / 1.097 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.647, allocations: 14.56 kB / 1.097 GB, free: 8.465 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches