Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.001226/0.001226, allocations: 102.7 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.001242/0.001242, allocations: 188.6 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.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 3.727 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.778/2.778, allocations: 476.7 MB / 0.7611 GB, free: 15.76 MB / 0.6075 GB " [Timeout remaining time 176] 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.ConvertTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.88 kB / 1.104 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9782/0.9801, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002625/0.9828, allocations: 1.464 MB / 1.27 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004515/0.9832, allocations: 199.8 kB / 1.27 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.9833, allocations: 0 / 1.27 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.9833, allocations: 5.375 kB / 1.27 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.9835, allocations: 23.72 kB / 1.27 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.9837, allocations: 54.16 kB / 1.27 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.9838, allocations: 56.09 kB / 1.27 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.9839, allocations: 15.39 kB / 1.271 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.984, allocations: 19.53 kB / 1.271 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.9841, allocations: 23.72 kB / 1.271 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.9841, allocations: 4.438 kB / 1.271 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.9841, allocations: 4.75 kB / 1.271 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.9842, allocations: 12.8 kB / 1.271 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.9842, allocations: 25.25 kB / 1.271 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.9843, allocations: 45.36 kB / 1.271 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.9843, allocations: 9.453 kB / 1.271 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9843, allocations: 0 / 1.271 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.9843, allocations: 0 / 1.271 GB, free: 6.469 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.0004914/0.9848, allocations: 353.5 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.9849, allocations: 9.094 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.9849, allocations: 37.05 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.9849, allocations: 3.875 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.9851, allocations: 168.3 kB / 1.271 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.9851, allocations: 2.5 kB / 1.271 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.9851, allocations: 6.594 kB / 1.271 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.9852, allocations: 83.08 kB / 1.271 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.9852, allocations: 3.938 kB / 1.271 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.9853, allocations: 0.5938 kB / 1.271 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.9853, allocations: 5.453 kB / 1.271 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.017e-05/0.9853, allocations: 15.64 kB / 1.271 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.9857, allocations: 279.1 kB / 1.272 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.9857, allocations: 36.91 kB / 1.272 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.9858, allocations: 16.39 kB / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.9858, allocations: 0 / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.986, allocations: 63.08 kB / 1.272 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.986, allocations: 0.6562 kB / 1.272 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002223/0.9862, allocations: 81.77 kB / 1.272 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.9862, allocations: 104.2 kB / 1.272 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.9863, allocations: 112.4 kB / 1.272 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.9863, allocations: 26.58 kB / 1.272 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.9864, allocations: 90.88 kB / 1.272 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.9864, allocations: 6.859 kB / 1.272 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.9864, allocations: 22.53 kB / 1.272 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.9865, allocations: 321.6 kB / 1.272 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.9865, allocations: 10.69 kB / 1.272 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/0.9865, allocations: 35.91 kB / 1.272 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.198e-05/0.9866, allocations: 24.88 kB / 1.272 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9866, allocations: 0.7812 kB / 1.272 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.899e-05/0.9867, allocations: 63.19 kB / 1.273 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.9867, allocations: 6.156 kB / 1.273 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9867, allocations: 0 / 1.273 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.9867, allocations: 0.5938 kB / 1.273 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.9868, allocations: 11.36 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.9868, allocations: 0 / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.9869, allocations: 13.78 kB / 1.273 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.9869, allocations: 1.531 kB / 1.273 GB, free: 4.523 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.704e-05/0.987, allocations: 119.2 kB / 1.273 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.987, allocations: 2.5 kB / 1.273 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.987, allocations: 4.906 kB / 1.273 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.987, allocations: 0.9062 kB / 1.273 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.987, allocations: 4 kB / 1.273 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.987, allocations: 5.25 kB / 1.273 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.69e-05/0.9871, allocations: 176.4 kB / 1.273 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9871, allocations: 0.6094 kB / 1.273 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.9872, allocations: 7.656 kB / 1.273 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9872, allocations: 0.7188 kB / 1.273 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.9872, allocations: 1.578 kB / 1.273 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9872, allocations: 0 / 1.273 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.9872, allocations: 0.8125 kB / 1.273 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.9873, allocations: 93.92 kB / 1.273 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.9873, allocations: 82.95 kB / 1.273 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.9874, allocations: 6.656 kB / 1.273 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.9875, allocations: 12.42 kB / 1.273 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.9875, allocations: 8.109 kB / 1.273 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.9875, allocations: 1.562 kB / 1.273 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.192e-05/0.9876, allocations: 86.55 kB / 1.273 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9876, allocations: 0 / 1.273 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001953/0.9878, allocations: 10.12 kB / 1.273 GB, free: 3.914 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.0003096/0.9881, allocations: 0.6452 MB / 1.274 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.9882, allocations: 25 kB / 1.274 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.9882, allocations: 0.9375 kB / 1.274 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.9882, allocations: 17.14 kB / 1.274 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.9884, allocations: 13.44 kB / 1.274 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.9894, allocations: 1.166 MB / 1.275 GB, free: 18.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.9897, allocations: 0.68 MB / 1.276 GB, free: 17.44 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.969e-05/0.9897, allocations: 5.406 kB / 1.276 GB, free: 17.44 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.9897, allocations: 15.16 kB / 1.276 GB, free: 17.43 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.9897, allocations: 0 / 1.276 GB, free: 17.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/1.013, allocations: 1.789 MB / 1.277 GB, free: 17.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/9.041, allocations: 1.406 kB / 1.277 GB, free: 17.04 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --stepSize=31104 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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: 15.256878672167659]