Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 102.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.688/2.688, allocations: 476.7 MB / 0.7611 GB, free: 15.68 MB / 0.6075 GB " [Timeout remaining time 177] 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.ConvertTimePositiveStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 67.91 kB / 1.104 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 168.7 MB / 1.269 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002636/1.013, allocations: 1.464 MB / 1.27 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004436/1.014, allocations: 192.8 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/1.014, allocations: 0 / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/1.014, allocations: 5.641 kB / 1.27 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002355/1.014, allocations: 24.31 kB / 1.27 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/1.014, allocations: 59.05 kB / 1.27 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/1.014, allocations: 56.47 kB / 1.271 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/1.014, allocations: 16.67 kB / 1.271 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.544e-05/1.014, allocations: 27.23 kB / 1.271 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.431e-05/1.014, allocations: 19.5 kB / 1.271 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/1.014, allocations: 4.438 kB / 1.271 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.643e-05/1.014, allocations: 4.406 kB / 1.271 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/1.014, allocations: 22.05 kB / 1.271 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/1.015, allocations: 20.64 kB / 1.271 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/1.015, allocations: 48.84 kB / 1.271 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.015, allocations: 0.8438 kB / 1.271 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.015, allocations: 0.6562 kB / 1.271 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.031e-06/1.015, allocations: 0.8438 kB / 1.271 GB, free: 6.445 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004859/1.015, allocations: 356.2 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.015, allocations: 9.688 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/1.015, allocations: 37.41 kB / 1.271 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/1.015, allocations: 3.312 kB / 1.271 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/1.015, allocations: 169.4 kB / 1.271 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/1.015, allocations: 1.812 kB / 1.271 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/1.015, allocations: 2.531 kB / 1.271 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/1.016, allocations: 86.55 kB / 1.271 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.016, allocations: 4.969 kB / 1.271 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.016, allocations: 0.6562 kB / 1.271 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/1.016, allocations: 0.8125 kB / 1.271 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.99e-05/1.016, allocations: 19.56 kB / 1.271 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/1.016, allocations: 271.8 kB / 1.272 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.338e-05/1.016, allocations: 36.42 kB / 1.272 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/1.016, allocations: 20.25 kB / 1.272 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/1.016, allocations: 0.5156 kB / 1.272 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/1.016, allocations: 63.61 kB / 1.272 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/1.016, allocations: 0 / 1.272 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002213/1.016, allocations: 77.78 kB / 1.272 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/1.017, allocations: 105 kB / 1.272 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/1.017, allocations: 103.4 kB / 1.272 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/1.017, allocations: 35.2 kB / 1.272 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/1.017, allocations: 87.45 kB / 1.272 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/1.017, allocations: 6.375 kB / 1.272 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/1.017, allocations: 25.3 kB / 1.272 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.237e-05/1.017, allocations: 322 kB / 1.272 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.549e-05/1.017, allocations: 10.92 kB / 1.272 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.128e-05/1.017, allocations: 31.69 kB / 1.272 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.447e-05/1.017, allocations: 28.94 kB / 1.272 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.017, allocations: 0.6875 kB / 1.272 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000102/1.017, allocations: 71.11 kB / 1.273 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.017, allocations: 5.406 kB / 1.273 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.017, allocations: 0.75 kB / 1.273 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.017, allocations: 0.7188 kB / 1.273 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.343e-05/1.017, allocations: 7.109 kB / 1.273 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/1.017, allocations: 0 / 1.273 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/1.017, allocations: 10.95 kB / 1.273 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/1.017, allocations: 5.531 kB / 1.273 GB, free: 4.5 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.599e-05/1.017, allocations: 119.1 kB / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/1.017, allocations: 2.312 kB / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/1.017, allocations: 5.188 kB / 1.273 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1.017, allocations: 0.6562 kB / 1.273 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.017, allocations: 1.656 kB / 1.273 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.017, allocations: 4 kB / 1.273 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/1.017, allocations: 181.2 kB / 1.273 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.017, allocations: 0 / 1.273 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/1.018, allocations: 11.58 kB / 1.273 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.018, allocations: 0.6562 kB / 1.273 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/1.018, allocations: 1.234 kB / 1.273 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.018, allocations: 0.6875 kB / 1.273 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.018, allocations: 0 / 1.273 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/1.018, allocations: 90.84 kB / 1.273 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/1.018, allocations: 91.42 kB / 1.273 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/1.018, allocations: 1.422 kB / 1.273 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/1.018, allocations: 12.48 kB / 1.273 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/1.018, allocations: 3.266 kB / 1.273 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/1.018, allocations: 2.484 kB / 1.273 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.323e-05/1.018, allocations: 86.61 kB / 1.273 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.018, allocations: 0 / 1.273 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001922/1.018, allocations: 10.09 kB / 1.273 GB, free: 3.891 MB / 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003269/1.018, allocations: 0.6477 MB / 1.274 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001247/1.019, allocations: 28.45 kB / 1.274 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.019, allocations: 0 / 1.274 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/1.019, allocations: 13.95 kB / 1.274 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/1.019, allocations: 9.891 kB / 1.274 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000961/1.02, allocations: 1.17 MB / 1.275 GB, free: 18.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/1.02, allocations: 0.6808 MB / 1.276 GB, free: 17.42 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.955e-05/1.02, allocations: 9.031 kB / 1.276 GB, free: 17.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/1.02, allocations: 15.53 kB / 1.276 GB, free: 17.4 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/1.02, allocations: 0.7188 kB / 1.276 GB, free: 17.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/1.045, allocations: 1.816 MB / 1.277 GB, free: 17.03 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.939, allocations: 6.984 kB / 1.277 GB, free: 17.02 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --stepSize=31587.8 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.992887846194208]