Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001832/0.001832, allocations: 104 kB / 16.45 MB, free: 6.449 MB / 14.72 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.00223/0.00223, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.143/3.143, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.ConvertTimePositiveStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 70.12 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3214, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003165/0.3245, allocations: 1.48 MB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004982/0.325, allocations: 187.4 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.3251, allocations: 0 / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.3251, allocations: 0 / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.3254, allocations: 35.84 kB / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.3256, allocations: 60.42 kB / 1.323 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.3257, allocations: 55.78 kB / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/0.3258, allocations: 11.94 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.076e-05/0.3259, allocations: 27.91 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.773e-05/0.326, allocations: 15.92 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.326, allocations: 4 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.326, allocations: 8 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.326, allocations: 11.98 kB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.3261, allocations: 27.91 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3262, allocations: 47.86 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3262, allocations: 0 / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3262, allocations: 0 / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3262, allocations: 0 / 1.323 GB, free: 1.328 MB / 1.014 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.000605/0.3268, allocations: 351.4 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3269, allocations: 11.98 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.3269, allocations: 34.75 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.327, allocations: 8.891 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3271, allocations: 172.3 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3271, allocations: 8.359 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.3271, allocations: 8.359 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3273, allocations: 76.81 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3273, allocations: 7.875 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3273, allocations: 0 / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3273, allocations: 4 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.3274, allocations: 15.94 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.3278, allocations: 280.8 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.3279, allocations: 34.56 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.328, allocations: 12.86 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.328, allocations: 0 / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.3282, allocations: 67.42 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3282, allocations: 4 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002575/0.3284, allocations: 73.73 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.3285, allocations: 102.8 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3286, allocations: 105.8 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3286, allocations: 25.7 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.3287, allocations: 88.09 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.3287, allocations: 7.953 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.3288, allocations: 21.7 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3289, allocations: 326.8 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.329, allocations: 11.94 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.255e-05/0.329, allocations: 30.56 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.56e-05/0.3291, allocations: 32.78 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3291, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001069/0.3292, allocations: 53.7 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3292, allocations: 4 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3292, allocations: 3.984 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3292, allocations: 8.031 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.3293, allocations: 12.38 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3293, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3294, allocations: 19.88 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3295, allocations: 4 kB / 1.325 GB, free: 15.07 MB / 1.029 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 0.0001392/0.3296, allocations: 119.5 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.3296, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.3296, allocations: 3.5 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3296, allocations: 8 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3296, allocations: 3.938 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3296, allocations: 3.984 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.3298, allocations: 169.6 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3298, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.3298, allocations: 4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3298, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3298, allocations: 3.984 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3298, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3298, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.33, allocations: 105.1 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.3301, allocations: 85.09 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.3301, allocations: 4 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3302, allocations: 7.984 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.3302, allocations: 7.984 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3303, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.194e-05/0.3303, allocations: 83.28 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3303, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001973/0.3305, allocations: 16 kB / 1.325 GB, free: 14.36 MB / 1.029 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.0005023/0.331, allocations: 0.6319 MB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.3311, allocations: 27.98 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3311, allocations: 0 / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.3312, allocations: 11.98 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.3313, allocations: 12 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3326, allocations: 1.18 MB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3329, allocations: 0.6768 MB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.313e-05/0.333, allocations: 11.98 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.333, allocations: 11.44 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.333, allocations: 0 / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.3587, allocations: 1.804 MB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.235, allocations: 3.938 kB / 1.33 GB, free: 10.04 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.83561593783088]