Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_10_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.001614/0.001614, allocations: 112.5 kB / 15.74 MB, free: 68 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.001708/0.001708, allocations: 198 kB / 16.67 MB, free: 6.582 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.467/2.467, allocations: 437.1 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 67.89 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.241, allocations: 151.6 MB / 1.166 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001934/0.2429, allocations: 1.231 MB / 1.167 GB, free: 6 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009039/0.2438, allocations: 0.7274 MB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.2439, allocations: 0 / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.2439, allocations: 0 / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.2441, allocations: 15.92 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.955e-05/0.2441, allocations: 8 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.2442, allocations: 11.98 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.71e-05/0.2442, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.652e-05/0.2443, allocations: 3.938 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.2444, allocations: 7.984 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.2444, allocations: 4 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.098e-05/0.2444, allocations: 15.92 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.2445, allocations: 0 / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.2445, allocations: 4 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.755e-05/0.2446, allocations: 16.14 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2446, allocations: 0 / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2446, allocations: 4 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.2446, allocations: 0 / 1.168 GB, free: 5.18 MB / 0.92 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.0003049/0.2449, allocations: 327.5 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.2449, allocations: 8.031 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.245, allocations: 106 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.2451, allocations: 80.22 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2452, allocations: 247.6 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.2453, allocations: 154.9 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.2454, allocations: 158.9 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.064e-05/0.2454, allocations: 105.5 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.2455, allocations: 79.22 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.2455, allocations: 150.6 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-05/0.2456, allocations: 150.6 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.278e-05/0.2456, allocations: 154.6 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.2459, allocations: 449.9 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.395e-05/0.246, allocations: 169.1 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.246, allocations: 84.12 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.2461, allocations: 79.28 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.2461, allocations: 109.8 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.2461, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 6.005e-05/0.2462, allocations: 29.64 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.2463, allocations: 134.6 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.2464, allocations: 97.84 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2464, allocations: 29.7 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.2464, allocations: 88.14 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.2464, allocations: 0 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.2465, allocations: 9.719 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2466, allocations: 314.8 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-06/0.2466, allocations: 0 / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.185e-05/0.2466, allocations: 3.984 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.2466, allocations: 75.28 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-05/0.2467, allocations: 75.28 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.3e-05/0.2467, allocations: 41.62 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.2468, allocations: 83.22 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/0.2468, allocations: 87.27 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.06e-05/0.2469, allocations: 154.6 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.081e-05/0.2469, allocations: 79.22 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.346e-05/0.247, allocations: 150.6 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.2471, allocations: 87.27 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.2471, allocations: 79.22 kB / 1.172 GB, free: 0.7852 MB / 0.92 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.0001141/0.2472, allocations: 256.4 kB / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.2473, allocations: 109.1 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.2474, allocations: 116 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.14e-05/0.2474, allocations: 188.3 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-05/0.2475, allocations: 184.2 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.318e-05/0.2476, allocations: 180.2 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.2478, allocations: 401.2 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.457e-05/0.2479, allocations: 108.9 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.2479, allocations: 101 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.949e-05/0.248, allocations: 184.2 kB / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-05/0.2481, allocations: 180.2 kB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.618e-05/0.2481, allocations: 184.2 kB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.187e-05/0.2482, allocations: 188.2 kB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.2484, allocations: 299.8 kB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.031e-05/0.2484, allocations: 190 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.2485, allocations: 180.2 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.2486, allocations: 108.9 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.2487, allocations: 176.3 kB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.2487, allocations: 105 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.993e-05/0.2488, allocations: 91.22 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2488, allocations: 0 / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002309/0.249, allocations: 4 kB / 1.176 GB, free: 13.1 MB / 0.9356 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.0004927/0.2495, allocations: 0.8199 MB / 1.176 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 3.458e-05/0.2496, allocations: 4 kB / 1.176 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2496, allocations: 0 / 1.176 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.2496, allocations: 7.938 kB / 1.176 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.2499, allocations: 451.7 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.251, allocations: 1.564 MB / 1.178 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.2513, allocations: 0.669 MB / 1.179 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.223e-05/0.2513, allocations: 4 kB / 1.179 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.2513, allocations: 13.67 kB / 1.179 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2513, allocations: 0 / 1.179 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.024/2.275, allocations: 1.205 MB / 1.18 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/13.01, allocations: 6.797 kB / 1.18 GB, free: 8.418 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches