Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.01201/0.01201, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.002509/0.002509, allocations: 189.9 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.523/2.523, 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 3.716/3.716, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.2 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3626, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002963/0.3656, allocations: 1.231 MB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3669, allocations: 0.7351 MB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.3669, allocations: 0 / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.367, allocations: 0 / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.3673, allocations: 11.94 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.3674, allocations: 12.03 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.984e-05/0.3675, allocations: 11.92 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.3676, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.816e-05/0.3676, allocations: 4 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.3678, allocations: 4 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3678, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.159e-05/0.3679, allocations: 15.92 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.081e-05/0.3679, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.368, allocations: 7.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.3681, allocations: 11.97 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3681, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3681, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.3681, allocations: 4 kB / 1.089 GB, free: 15.93 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003855/0.3685, allocations: 326.4 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3685, allocations: 11.97 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.3686, allocations: 110 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.895e-05/0.3687, allocations: 76.22 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.3689, allocations: 239.6 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/0.3689, allocations: 150.9 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.369, allocations: 158.9 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.764e-05/0.3691, allocations: 111 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.3691, allocations: 83.16 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.3692, allocations: 150.6 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/0.3692, allocations: 150.6 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.962e-05/0.3693, allocations: 154.5 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.3696, allocations: 450 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.329e-05/0.3697, allocations: 165.1 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.3698, allocations: 84.12 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.3698, allocations: 75.28 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.3699, allocations: 117.8 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3699, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.624e-05/0.37, allocations: 29.64 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.37, allocations: 130.7 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3701, allocations: 101.8 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3702, allocations: 25.7 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.3702, allocations: 80.14 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-06/0.3702, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.3703, allocations: 17.72 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3704, allocations: 314.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-06/0.3704, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.663e-05/0.3704, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.3704, allocations: 75.28 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.28e-05/0.3705, allocations: 79.22 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.454e-05/0.3705, allocations: 33.69 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.3706, allocations: 87.25 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.612e-05/0.3706, allocations: 83.33 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.498e-05/0.3707, allocations: 154.5 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.557e-05/0.3707, allocations: 79.28 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.737e-05/0.3708, allocations: 154.5 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.3709, allocations: 83.28 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.371, allocations: 79.28 kB / 1.094 GB, free: 11.55 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001177/0.3711, allocations: 264.4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.3712, allocations: 109 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.3712, allocations: 112.1 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-05/0.3713, allocations: 180.2 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-05/0.3714, allocations: 184.3 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.036e-05/0.3715, allocations: 180.2 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.3717, allocations: 409.1 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.595e-05/0.3717, allocations: 105.2 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.3718, allocations: 104.9 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-05/0.3719, allocations: 180.2 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.346e-05/0.3719, allocations: 188.2 kB / 1.095 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.036e-05/0.372, allocations: 180.2 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.729e-05/0.3721, allocations: 180.3 kB / 1.096 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.3722, allocations: 307.8 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.3723, allocations: 182.1 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.3724, allocations: 196.1 kB / 1.096 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.3725, allocations: 101 kB / 1.097 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.3726, allocations: 180.2 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.3726, allocations: 101 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.675e-05/0.3727, allocations: 83.27 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3727, allocations: 0 / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002869/0.373, allocations: 8 kB / 1.097 GB, free: 7.867 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005909/0.3736, allocations: 0.8194 MB / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.66e-05/0.3736, allocations: 12 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3736, allocations: 0 / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.3736, allocations: 0 / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.374, allocations: 459.6 kB / 1.098 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3753, allocations: 1.563 MB / 1.1 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3756, allocations: 0.6846 MB / 1.1 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.756e-05/0.3756, allocations: 0 / 1.1 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.3756, allocations: 11.44 kB / 1.1 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of SimCode: time 6.31e-07/0.3756, allocations: 0 / 1.1 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7268/1.102, allocations: 1.204 MB / 1.102 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.93, allocations: 13.38 kB / 1.102 GB, free: 3.16 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches