Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.006249/0.006249, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.001759/0.001759, allocations: 188 kB / 16.67 MB, free: 5.914 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.618/2.618, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 67.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2619, allocations: 162.3 MB / 1.242 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001984/0.2639, allocations: 1.262 MB / 1.243 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009289/0.2649, allocations: 0.731 MB / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.2649, allocations: 0 / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.2649, allocations: 4 kB / 1.244 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.2651, allocations: 15.92 kB / 1.244 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.2653, allocations: 47.5 kB / 1.244 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.663e-05/0.2654, allocations: 23.97 kB / 1.244 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.832e-05/0.2654, allocations: 0 / 1.244 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.69e-05/0.2654, allocations: 15.92 kB / 1.244 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.2656, allocations: 11.92 kB / 1.244 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.2656, allocations: 0 / 1.244 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.924e-05/0.2656, allocations: 16 kB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.2657, allocations: 3.984 kB / 1.244 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.2657, allocations: 7.938 kB / 1.244 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.857e-05/0.2658, allocations: 23.97 kB / 1.244 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2658, allocations: 0 / 1.244 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2658, allocations: 0 / 1.244 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.2658, allocations: 0 / 1.244 GB, free: 7.625 MB / 0.9981 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.000298/0.2661, allocations: 331.4 kB / 1.244 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.2661, allocations: 8.031 kB / 1.244 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/0.2662, allocations: 110 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.2663, allocations: 88.16 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.2664, allocations: 243.6 kB / 1.245 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.225e-05/0.2665, allocations: 158.9 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.2665, allocations: 154.9 kB / 1.245 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.905e-05/0.2666, allocations: 109.5 kB / 1.245 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.2666, allocations: 79.22 kB / 1.245 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/0.2667, allocations: 154.6 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/0.2668, allocations: 150.6 kB / 1.245 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.618e-05/0.2668, allocations: 154.5 kB / 1.246 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.2671, allocations: 449.9 kB / 1.246 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/0.2672, allocations: 173.1 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.2672, allocations: 84.14 kB / 1.246 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.2673, allocations: 75.28 kB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/0.2673, allocations: 109.8 kB / 1.246 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.2673, allocations: 0 / 1.246 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.317e-05/0.2674, allocations: 37.58 kB / 1.247 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.2675, allocations: 130.7 kB / 1.247 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.2676, allocations: 109.8 kB / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.2676, allocations: 25.7 kB / 1.247 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.2676, allocations: 80.14 kB / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-06/0.2676, allocations: 0 / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.2677, allocations: 17.72 kB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2678, allocations: 318.8 kB / 1.247 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.2678, allocations: 4 kB / 1.247 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.2678, allocations: 8 kB / 1.247 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.2679, allocations: 20.84 kB / 1.247 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2679, allocations: 0 / 1.247 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.894e-05/0.268, allocations: 41.64 kB / 1.247 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.268, allocations: 7.938 kB / 1.247 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.268, allocations: 0 / 1.247 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.268, allocations: 3.984 kB / 1.247 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-07/0.268, allocations: 128 / 1.247 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.268, allocations: 4 kB / 1.247 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.2681, allocations: 7.953 kB / 1.247 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2681, allocations: 0 / 1.247 GB, free: 4 MB / 0.9981 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 9.848e-05/0.2682, allocations: 185.7 kB / 1.247 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.2683, allocations: 116.8 kB / 1.248 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.2683, allocations: 108.5 kB / 1.248 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.635e-05/0.2684, allocations: 184.3 kB / 1.248 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.018e-05/0.2685, allocations: 180.3 kB / 1.248 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-05/0.2686, allocations: 180.3 kB / 1.248 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.2688, allocations: 409.2 kB / 1.249 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.719e-05/0.2688, allocations: 101 kB / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.2689, allocations: 101 kB / 1.249 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.309e-05/0.269, allocations: 196.1 kB / 1.249 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.269, allocations: 180.6 kB / 1.249 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-05/0.2691, allocations: 192.1 kB / 1.249 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.709e-05/0.2692, allocations: 176.3 kB / 1.249 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.2693, allocations: 311.8 kB / 1.25 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.465e-05/0.2694, allocations: 182.1 kB / 1.25 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.2695, allocations: 184.1 kB / 1.25 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.2696, allocations: 105 kB / 1.25 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.2696, allocations: 184.2 kB / 1.25 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.2697, allocations: 104.9 kB / 1.251 GB, free: 480 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.895e-05/0.2697, allocations: 87.28 kB / 1.251 GB, free: 392 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2697, allocations: 0 / 1.251 GB, free: 392 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002001/0.27, allocations: 7.938 kB / 1.251 GB, free: 384 kB / 0.9981 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.4282/0.6982, allocations: 0.8205 MB / 1.251 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.548e-05/0.6983, allocations: 8.375 kB / 1.251 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6983, allocations: 1.594 kB / 1.251 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.434e-06/0.6983, allocations: 0.6875 kB / 1.251 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.6986, allocations: 459.5 kB / 1.252 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.6992, allocations: 1.287 MB / 1.253 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.689e-05/0.6993, allocations: 0.6762 MB / 1.254 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.72e-05/0.6993, allocations: 2.25 kB / 1.254 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.6994, allocations: 8.734 kB / 1.254 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.6994, allocations: 1.406 kB / 1.254 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.655/2.354, allocations: 1.29 MB / 1.255 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/14.84, allocations: 7.25 kB / 1.255 GB, free: 12.41 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches