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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008095/0.0008095, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008504/0.0008504, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8836/0.8836, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.621/1.621, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.674e-06/1.674e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.421e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001632/0.001647, allocations: 1.479 MB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002967/0.001943, allocations: 179.9 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.001976, allocations: 0 / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.002002, allocations: 7.922 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.002188, allocations: 23.86 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.002323, allocations: 63.03 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.002403, allocations: 59.84 kB / 0.9523 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.732e-05/0.00248, allocations: 4 kB / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.261e-05/0.002543, allocations: 39.89 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.714e-05/0.00261, allocations: 15.98 kB / 0.9523 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.002633, allocations: 4 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-06/0.002643, allocations: 8 kB / 0.9523 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.002663, allocations: 15.91 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.002699, allocations: 19.98 kB / 0.9524 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.943e-05/0.002788, allocations: 63.78 kB / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.00279, allocations: 0 / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002791, allocations: 0 / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.002794, allocations: 3.938 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003891/0.003183, allocations: 282.2 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.003217, allocations: 12.03 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.003246, allocations: 30.75 kB / 0.9527 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.003274, allocations: 8.922 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.715e-05/0.003351, allocations: 113.8 kB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.003363, allocations: 8.359 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.003373, allocations: 4.375 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.003502, allocations: 132.2 kB / 0.953 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003509, allocations: 192 / 0.953 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.00352, allocations: 4.375 kB / 0.953 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.003526, allocations: 4.125 kB / 0.953 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.172e-05/0.003568, allocations: 23.97 kB / 0.953 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.003898, allocations: 251.9 kB / 0.9533 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.696e-05/0.003985, allocations: 38.58 kB / 0.9533 GB, free: 488 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.004012, allocations: 24.88 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.00402, allocations: 0 / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.004133, allocations: 67.39 kB / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.004134, allocations: 0 / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001527/0.004286, allocations: 81.58 kB / 0.9535 GB, free: 292 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.004335, allocations: 110.8 kB / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.004385, allocations: 101.9 kB / 0.9537 GB, free: 44 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.004399, allocations: 29.7 kB / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.00444, allocations: 84.12 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.004456, allocations: 15.91 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.004492, allocations: 25.7 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.00456, allocations: 314.8 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.004584, allocations: 16 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-05/0.004634, allocations: 85.97 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.62e-05/0.00468, allocations: 40.78 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004682, allocations: 0 / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.951e-05/0.004751, allocations: 77.78 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.004764, allocations: 10.34 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.004768, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.004777, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.004827, allocations: 4 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.004832, allocations: 8.094 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.004888, allocations: 19.88 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.004895, allocations: 4 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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 5.469e-05/0.00495, allocations: 117.7 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-06/0.004959, allocations: 11.92 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.604e-05/0.004975, allocations: 7.812 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.004977, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.00498, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.004983, allocations: 4 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.484e-05/0.005058, allocations: 136.7 kB / 0.9546 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005058, allocations: 4.5 kB / 0.9546 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-06/0.005067, allocations: 4 kB / 0.9546 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005069, allocations: 0 / 0.9546 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.005075, allocations: 3.984 kB / 0.9546 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.005076, allocations: 4 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005077, allocations: 0 / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.903e-05/0.005156, allocations: 97.02 kB / 0.9547 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.005179, allocations: 7.984 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.005194, allocations: 4 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.531e-05/0.005239, allocations: 15.08 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.005264, allocations: 11.92 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.005266, allocations: 0 / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.797e-05/0.005294, allocations: 87.28 kB / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005294, allocations: 0 / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001278/0.005422, allocations: 12 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002337/0.005656, allocations: 0.6358 MB / 0.9555 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.005744, allocations: 35.92 kB / 0.9555 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.005745, allocations: 0 / 0.9555 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/0.00577, allocations: 16 kB / 0.9555 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.006112, allocations: 11.98 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.006835, allocations: 1.215 MB / 0.9567 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.383e-05/0.006869, allocations: 63.34 kB / 0.9568 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.006894, allocations: 7.906 kB / 0.9568 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.006928, allocations: 16.48 kB / 0.9568 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.006929, allocations: 0 / 0.9568 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.02068, allocations: 2.537 MB / 0.9593 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.903/6.924, allocations: 3.938 kB / 0.9593 GB, free: 10.16 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.749561128206551]