Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_10_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.004495/0.004495, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001177/0.001177, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.454/2.454, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2665, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.001927/0.2685, allocations: 1.27 MB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008861/0.2694, allocations: 0.743 MB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.2694, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.2695, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.2697, allocations: 3.938 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.2698, allocations: 51.92 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.2699, allocations: 31.84 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.27, allocations: 0 / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.27, allocations: 11.98 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.2701, allocations: 15.92 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2702, allocations: 4 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.295e-05/0.2702, allocations: 4 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.2703, allocations: 7.922 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.2703, allocations: 7.984 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.304e-05/0.2704, allocations: 19.92 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2704, allocations: 4 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2704, allocations: 0 / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2704, allocations: 4 kB / 1.168 GB, free: 5.07 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.0002736/0.2707, allocations: 326.3 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2707, allocations: 12.03 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.2708, allocations: 106 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.2708, allocations: 76.22 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.271, allocations: 248.2 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.271, allocations: 158.9 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.2711, allocations: 154.9 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.859e-05/0.2711, allocations: 101.5 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.2711, allocations: 79.22 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.2712, allocations: 150.6 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.2712, allocations: 150.6 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.64e-05/0.2713, allocations: 158.6 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.2715, allocations: 453.9 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.367e-05/0.2716, allocations: 173.1 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.2716, allocations: 80.14 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.2716, allocations: 79.28 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2717, allocations: 109.8 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.2717, allocations: 0 / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.069e-05/0.2718, allocations: 45.58 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.2718, allocations: 134.6 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.2719, allocations: 106.1 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.2719, allocations: 25.7 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.272, allocations: 84.14 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.272, allocations: 0 / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.272, allocations: 21.72 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.2721, allocations: 310.8 kB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.2721, allocations: 7.984 kB / 1.172 GB, free: 1.555 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.2722, allocations: 4 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.2722, allocations: 20.84 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2722, allocations: 4.094 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.404e-05/0.2723, allocations: 41.64 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2723, allocations: 7.938 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2723, allocations: 256 / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2723, allocations: 0 / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-06/0.2723, allocations: 4 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2724, allocations: 0 / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.2725, allocations: 11.92 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.2725, allocations: 0 / 1.172 GB, free: 1.453 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 (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 8.168e-05/0.2726, allocations: 189.2 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.2726, allocations: 108.9 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.2727, allocations: 116.4 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.243e-05/0.2727, allocations: 176.3 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.584e-05/0.2728, allocations: 176.3 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.595e-05/0.2728, allocations: 180.2 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.273, allocations: 409.2 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.82e-05/0.2731, allocations: 104.9 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.2731, allocations: 105.1 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.774e-05/0.2731, allocations: 184.2 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.2732, allocations: 188.2 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.516e-05/0.2732, allocations: 180.3 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.434e-05/0.2733, allocations: 184.2 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.2734, allocations: 311.7 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.2735, allocations: 186 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.2735, allocations: 180.2 kB / 1.174 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.2736, allocations: 112.9 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.2736, allocations: 176.3 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.2737, allocations: 108.9 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.579e-05/0.2737, allocations: 83.28 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2737, allocations: 0 / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002078/0.2739, allocations: 4 kB / 1.175 GB, free: 13.84 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.0004172/0.2744, allocations: 0.8316 MB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.155e-05/0.2744, allocations: 4 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.2744, allocations: 0 / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.2744, allocations: 8 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.2747, allocations: 459.7 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008398/0.2756, allocations: 1.3 MB / 1.177 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.2758, allocations: 0.6768 MB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.697e-05/0.2758, allocations: 0 / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.2758, allocations: 11.44 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.2758, allocations: 4.031 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.2916, allocations: 1.295 MB / 1.179 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.137/7.428, allocations: 8.141 kB / 1.179 GB, free: 9.301 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches