Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.001909/0.001909, 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.002032/0.002032, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.819/2.819, allocations: 469.8 MB / 0.7424 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 70.66 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.255, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002521/0.2575, allocations: 1.269 MB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2586, allocations: 0.7327 MB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.2586, allocations: 0 / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.2587, allocations: 0 / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.2589, allocations: 19.91 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.2591, allocations: 50.06 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.966e-05/0.2591, allocations: 19.92 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.226e-05/0.2592, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.2592, allocations: 27.84 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.2594, allocations: 4 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.2594, allocations: 0 / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.334e-05/0.2595, allocations: 11.98 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.2595, allocations: 3.984 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.2595, allocations: 11.94 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.855e-05/0.2596, allocations: 23.97 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2597, allocations: 7.938 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2597, allocations: 0 / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.2597, allocations: 0 / 1.066 GB, free: 12.07 MB / 0.8262 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.0003662/0.26, allocations: 327.7 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2601, allocations: 8.031 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.13e-05/0.2602, allocations: 110 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.2602, allocations: 84.2 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.2604, allocations: 235.7 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.102e-05/0.2605, allocations: 162.9 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.2606, allocations: 150.9 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.976e-05/0.2606, allocations: 101.5 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.2607, allocations: 79.22 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.305e-05/0.2607, allocations: 150.6 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/0.2608, allocations: 154.6 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.118e-05/0.2609, allocations: 154.5 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.2612, allocations: 453.9 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.696e-05/0.2613, allocations: 177.2 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.2614, allocations: 84.14 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.2614, allocations: 75.28 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.2615, allocations: 109.8 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2615, allocations: 0 / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.132e-05/0.2615, allocations: 37.58 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.2616, allocations: 126.7 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.2617, allocations: 109.8 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2618, allocations: 29.7 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.2618, allocations: 92.03 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.2618, allocations: 0 / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.2619, allocations: 13.72 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.262, allocations: 318.8 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.262, allocations: 0 / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-05/0.2621, allocations: 12 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/0.2621, allocations: 20.94 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2621, allocations: 0 / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001083/0.2622, allocations: 41.64 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2623, allocations: 7.938 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2623, allocations: 3.938 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.2623, allocations: 3.984 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.865e-06/0.2623, allocations: 3.984 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2623, allocations: 0 / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.2624, allocations: 4 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.2625, allocations: 0 / 1.069 GB, free: 8.453 MB / 0.8262 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): 0 * Array equations: 1 * 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.000113/0.2626, allocations: 193.2 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.2627, allocations: 108.9 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.768e-05/0.2627, allocations: 108.5 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.385e-05/0.2628, allocations: 180.3 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.611e-05/0.2629, allocations: 180.2 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.656e-05/0.263, allocations: 184.3 kB / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.2632, allocations: 401.2 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.425e-05/0.2633, allocations: 104.9 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.2633, allocations: 105 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-05/0.2634, allocations: 192.3 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-05/0.2635, allocations: 184.3 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.317e-05/0.2636, allocations: 176.3 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.535e-05/0.2637, allocations: 180.2 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.2638, allocations: 311.8 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.864e-05/0.2639, allocations: 186 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/0.264, allocations: 188.1 kB / 1.072 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.2641, allocations: 104.9 kB / 1.072 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.2642, allocations: 188.2 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.2643, allocations: 104.9 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.2643, allocations: 83.53 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2643, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002441/0.2646, allocations: 4 kB / 1.073 GB, free: 4.836 MB / 0.8262 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.0005375/0.2651, allocations: 0.8243 MB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.347e-05/0.2652, allocations: 11.94 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.2652, allocations: 4.062 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.2652, allocations: 0 / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.2656, allocations: 458.3 kB / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2667, allocations: 1.295 MB / 1.075 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.267, allocations: 0.6808 MB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.449e-05/0.267, allocations: 0 / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.267, allocations: 8.984 kB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2671, allocations: 0 / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.29, allocations: 1.284 MB / 1.077 GB, free: 320 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.062, allocations: 4.375 kB / 1.077 GB, free: 316 kB / 0.8262 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches