Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008656/0.0008656, 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.000951/0.000951, 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.9423/0.9423, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.719/1.719, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.811e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00171/0.001728, allocations: 1.481 MB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003209/0.002049, allocations: 179.3 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.002081, allocations: 0 / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.002112, allocations: 7.922 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.002303, allocations: 19.86 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.002455, allocations: 65.66 kB / 0.9827 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.002543, allocations: 59.83 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.002635, allocations: 8 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.002704, allocations: 35.91 kB / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.002773, allocations: 15.97 kB / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.0028, allocations: 8 kB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-06/0.00281, allocations: 4 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.002839, allocations: 19.92 kB / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.002875, allocations: 11.98 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.002977, allocations: 71.77 kB / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002979, allocations: 0 / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.142e-06/0.00298, allocations: 0 / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.002984, allocations: 0 / 0.9829 GB, free: 0.6016 MB / 0.9323 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.000438/0.003422, allocations: 286.2 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.003464, allocations: 8.031 kB / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.003499, allocations: 30.75 kB / 0.9832 GB, free: 248 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.003535, allocations: 4.938 kB / 0.9832 GB, free: 244 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.003639, allocations: 121.7 kB / 0.9833 GB, free: 96 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.003654, allocations: 4.359 kB / 0.9833 GB, free: 92 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.003663, allocations: 8.375 kB / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.003823, allocations: 128.2 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.00383, allocations: 192 / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.003842, allocations: 4.375 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.003848, allocations: 4.125 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/0.003896, allocations: 23.86 kB / 0.9835 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.004256, allocations: 244 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.083e-05/0.004347, allocations: 38.58 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.004372, allocations: 20.88 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.004381, allocations: 8 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.004521, allocations: 67.33 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.004522, allocations: 0 / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0001724/0.004695, allocations: 73.64 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.004763, allocations: 110.8 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.643e-05/0.00482, allocations: 105.8 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.004832, allocations: 25.7 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.004868, allocations: 92.08 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.004887, allocations: 15.95 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.00492, allocations: 29.7 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.00499, allocations: 318.8 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.005012, allocations: 12 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.997e-05/0.005062, allocations: 93.91 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.492e-05/0.005107, allocations: 36.84 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.005109, allocations: 0 / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.597e-05/0.005185, allocations: 78.22 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.005195, allocations: 8 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.0052, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.005211, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.005263, allocations: 7.938 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.005269, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.005328, allocations: 16.02 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.005334, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 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 6.198e-05/0.005396, allocations: 113.8 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.005404, allocations: 7.938 kB / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.005424, allocations: 11.8 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.005427, allocations: 4 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.005432, allocations: 0 / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.005435, allocations: 0 / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.089e-05/0.005516, allocations: 136.7 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005517, allocations: 4 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.074e-05/0.005527, allocations: 4 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.00553, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.005538, allocations: 7.922 kB / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.005539, allocations: 0 / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.005541, allocations: 4 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.857e-05/0.005629, allocations: 101 kB / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.005656, allocations: 11.92 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.005669, allocations: 0 / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.432e-05/0.005713, allocations: 11.98 kB / 0.9852 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.005746, allocations: 11.98 kB / 0.9852 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.005753, allocations: 7.984 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.062e-05/0.005784, allocations: 83.28 kB / 0.9853 GB, free: 13.78 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005784, allocations: 0 / 0.9853 GB, free: 13.78 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001265/0.00591, allocations: 12 kB / 0.9853 GB, free: 13.77 MB / 0.948 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.0002895/0.0062, allocations: 0.6404 MB / 0.986 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.556e-05/0.006295, allocations: 35.92 kB / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.006298, allocations: 4 kB / 0.986 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.713e-05/0.006325, allocations: 12 kB / 0.986 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.006441, allocations: 14.95 kB / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007669/0.007208, allocations: 1.211 MB / 0.9872 GB, free: 11.74 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.153e-05/0.007249, allocations: 67.3 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.007278, allocations: 8 kB / 0.9873 GB, free: 11.65 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.007317, allocations: 16.48 kB / 0.9873 GB, free: 11.63 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.007318, allocations: 0 / 0.9873 GB, free: 11.63 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.02042, allocations: 2.539 MB / 0.9898 GB, free: 9.246 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/6.966, allocations: 4.594 kB / 0.9898 GB, free: 9.242 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conTim.modTim in file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.064866304397583]