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.001141/0.001141, allocations: 108 kB / 15.61 MB, free: 148 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.001166/0.001166, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.131/1.131, allocations: 222.9 MB / 240.2 MB, free: 4.402 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 2.004/2.004, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 59.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4627, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001652/0.4644, allocations: 1.237 MB / 0.9509 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006702/0.465, allocations: 0.7132 MB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.4651, allocations: 1.438 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.4651, allocations: 0 / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.4653, allocations: 19.67 kB / 0.9516 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.365e-05/0.4653, allocations: 10.2 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.117e-05/0.4654, allocations: 9.406 kB / 0.9517 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.345e-05/0.4654, allocations: 5.141 kB / 0.9517 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.577e-05/0.4654, allocations: 5.469 kB / 0.9517 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.4655, allocations: 9.297 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.4656, allocations: 0 / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.495e-05/0.4656, allocations: 5.031 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.4656, allocations: 6.219 kB / 0.9517 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.4657, allocations: 9.625 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.05e-05/0.4657, allocations: 9.906 kB / 0.9517 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.4657, allocations: 3.938 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4657, allocations: 3.938 kB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.4658, allocations: 0 / 0.9517 GB, free: 7.586 MB / 0.7169 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.0002066/0.466, allocations: 332.2 kB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.466, allocations: 10.25 kB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.302e-05/0.466, allocations: 106 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.4661, allocations: 78.03 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.566e-05/0.4662, allocations: 241 kB / 0.9525 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.4662, allocations: 150.9 kB / 0.9526 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.4662, allocations: 156.3 kB / 0.9527 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3e-05/0.4662, allocations: 102.9 kB / 0.9528 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4662, allocations: 79.22 kB / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.4663, allocations: 158.5 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.4663, allocations: 155.9 kB / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.543e-05/0.4663, allocations: 150.6 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.4664, allocations: 452.1 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.068e-05/0.4665, allocations: 166.2 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.186e-05/0.4665, allocations: 81.11 kB / 0.954 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.4665, allocations: 79.22 kB / 0.9541 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.4665, allocations: 110.8 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.4665, allocations: 0 / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.052e-05/0.4666, allocations: 31.8 kB / 0.9542 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.4666, allocations: 130.7 kB / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.447e-05/0.4667, allocations: 99.08 kB / 0.9545 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.4667, allocations: 26.89 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.79e-05/0.4667, allocations: 84.8 kB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.4667, allocations: 0 / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.4667, allocations: 16.25 kB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.227e-05/0.4668, allocations: 320.4 kB / 0.9549 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.4668, allocations: 4 kB / 0.9549 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.4668, allocations: 5.625 kB / 0.9549 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.628e-06/0.4668, allocations: 75.28 kB / 0.955 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.4668, allocations: 75.28 kB / 0.955 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.176e-05/0.4669, allocations: 28.27 kB / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4669, allocations: 90.06 kB / 0.9552 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4669, allocations: 76.75 kB / 0.9552 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.4669, allocations: 155.8 kB / 0.9554 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-06/0.4669, allocations: 80.55 kB / 0.9555 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.467, allocations: 159.9 kB / 0.9556 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.467, allocations: 77.25 kB / 0.9557 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.4671, allocations: 79.33 kB / 0.9558 GB, free: 3.262 MB / 0.7169 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 4.206e-05/0.4671, allocations: 267 kB / 0.956 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.4671, allocations: 106.8 kB / 0.9561 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.62e-05/0.4672, allocations: 115.8 kB / 0.9562 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.4672, allocations: 186.1 kB / 0.9564 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.4672, allocations: 176.3 kB / 0.9566 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.4672, allocations: 182.1 kB / 0.9567 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.58e-05/0.4673, allocations: 402.6 kB / 0.9571 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.4673, allocations: 107.1 kB / 0.9572 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/0.4674, allocations: 104.9 kB / 0.9573 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-05/0.4674, allocations: 185.9 kB / 0.9575 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.4674, allocations: 189.6 kB / 0.9577 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.509e-05/0.4674, allocations: 176.3 kB / 0.9579 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-05/0.4674, allocations: 177.5 kB / 0.958 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.55e-05/0.4675, allocations: 308.4 kB / 0.9583 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.4675, allocations: 191.4 kB / 0.9585 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.4675, allocations: 185.7 kB / 0.9587 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.4676, allocations: 105 kB / 0.9588 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.4677, allocations: 185.3 kB / 0.959 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.4677, allocations: 101.9 kB / 0.959 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.4678, allocations: 78.94 kB / 0.9591 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4678, allocations: 5.375 kB / 0.9591 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002274/0.468, allocations: 5.281 kB / 0.9591 GB, free: 15.6 MB / 0.7325 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.0004065/0.4684, allocations: 0.8212 MB / 0.9599 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.295e-05/0.4685, allocations: 5.219 kB / 0.9599 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4685, allocations: 0 / 0.9599 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.4685, allocations: 0.7812 kB / 0.9599 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.4688, allocations: 458.5 kB / 0.9604 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/0.4697, allocations: 1.571 MB / 0.9619 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.4699, allocations: 0.6791 MB / 0.9626 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.163e-05/0.4699, allocations: 5.297 kB / 0.9626 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.836e-05/0.4699, allocations: 9.938 kB / 0.9626 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.4699, allocations: 0 / 0.9626 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.127/1.597, allocations: 1.178 MB / 0.9637 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/12.26, allocations: 6.438 kB / 0.9637 GB, free: 11.38 MB / 0.7325 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