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.001392/0.001392, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001395/0.001395, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] 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.47/2.47, allocations: 476.7 MB / 0.7628 GB, free: 15.14 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.001811/0.001811, allocations: 63.91 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7344/0.7362, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002074/0.7383, allocations: 1.491 MB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000326/0.7386, allocations: 181.4 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.7387, allocations: 0 / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.7387, allocations: 5.781 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.7389, allocations: 24.22 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.739, allocations: 56.14 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.167e-05/0.7391, allocations: 57.05 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.105e-05/0.7392, allocations: 14.55 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.7392, allocations: 28.08 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.7393, allocations: 19.42 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.7393, allocations: 3.812 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.7393, allocations: 4.688 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.7394, allocations: 13.75 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.7394, allocations: 29.14 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.788e-05/0.7395, allocations: 45.41 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.7395, allocations: 0.8438 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7395, allocations: 4 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.7395, allocations: 0 / 1.273 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.0003834/0.7399, allocations: 353.9 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.7399, allocations: 8.875 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.74, allocations: 37.69 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.74, allocations: 3.406 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.823e-05/0.7401, allocations: 169.2 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.7401, allocations: 2.062 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.7401, allocations: 3.031 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.7402, allocations: 85.98 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.7402, allocations: 3.938 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.7402, allocations: 1.594 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.7402, allocations: 1.094 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.696e-05/0.7403, allocations: 15.72 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.7405, allocations: 278.4 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/0.7406, allocations: 37.62 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.7407, allocations: 15.64 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.7407, allocations: 0.6562 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.7408, allocations: 63.25 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.7408, allocations: 0 / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001819/0.741, allocations: 78.05 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.741, allocations: 109.6 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.871e-05/0.741, allocations: 103.8 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.7411, allocations: 26.58 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/0.7411, allocations: 94.81 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.7411, allocations: 11.45 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.7411, allocations: 21.19 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.347e-05/0.7412, allocations: 322.8 kB / 1.275 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.7412, allocations: 11.97 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.7412, allocations: 32.78 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.7413, allocations: 32.64 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.7413, allocations: 0 / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.382e-05/0.7414, allocations: 53 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.7414, allocations: 4.938 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.7414, allocations: 1.844 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.7414, allocations: 0 / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.7414, allocations: 8.172 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.7414, allocations: 5.062 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.992e-05/0.7415, allocations: 15.97 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.7416, allocations: 1.125 kB / 1.275 GB, free: 4.504 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 5.041e-05/0.7416, allocations: 120.5 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.7416, allocations: 10.42 kB / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.571e-05/0.7416, allocations: 3.938 kB / 1.275 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.7416, allocations: 0.9375 kB / 1.275 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7416, allocations: 0.7812 kB / 1.275 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.7416, allocations: 4 kB / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.333e-05/0.7417, allocations: 177 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7417, allocations: 0 / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.7417, allocations: 3.031 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7417, allocations: 4 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.7417, allocations: 0 / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7417, allocations: 0.75 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7417, allocations: 0.6875 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.7418, allocations: 91.64 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.7419, allocations: 88.59 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.7419, allocations: 4.906 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.742, allocations: 8.328 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.742, allocations: 8.906 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.742, allocations: 2.125 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.585e-05/0.7421, allocations: 87.28 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7421, allocations: 3.938 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001792/0.7422, allocations: 14.64 kB / 1.276 GB, free: 3.887 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.0002407/0.7425, allocations: 0.6373 MB / 1.276 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.7426, allocations: 30.7 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7426, allocations: 0 / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.7426, allocations: 12.31 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.7428, allocations: 9.359 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006975/0.7434, allocations: 1.177 MB / 1.278 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.7437, allocations: 0.6846 MB / 1.278 GB, free: 17.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.7438, allocations: 4.219 kB / 1.278 GB, free: 17.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.7438, allocations: 16.16 kB / 1.278 GB, free: 17.4 MB / 1.014 GB Notification: Performance of SimCode: time 4.1e-07/0.7438, allocations: 0 / 1.278 GB, free: 17.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.767, allocations: 1.759 MB / 1.28 GB, free: 17.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.848, allocations: 9.422 kB / 1.28 GB, free: 17.02 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conTim.modTim in file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.164972967999347]