Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004796/0.004796, allocations: 100.8 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 199 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.83 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2394, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002422/0.2418, allocations: 1.448 MB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004346/0.2423, allocations: 192.8 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.2423, allocations: 4 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.2424, allocations: 0 / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.2426, allocations: 19.84 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.2429, allocations: 58.11 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.243, allocations: 63.78 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.2431, allocations: 11.97 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.2432, allocations: 23.98 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.268e-05/0.2433, allocations: 23.91 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.2433, allocations: 4 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.2433, allocations: 4 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.2433, allocations: 15.92 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.2434, allocations: 19.92 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.2435, allocations: 46.69 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2435, allocations: 0 / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2435, allocations: 4 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2435, allocations: 0 / 1.089 GB, free: 48 kB / 0.8419 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.0005493/0.2441, allocations: 352.2 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2441, allocations: 12.03 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.2442, allocations: 30.75 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.2442, allocations: 4.938 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2444, allocations: 176.2 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2444, allocations: 4.375 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.2444, allocations: 4.375 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.2446, allocations: 72.81 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2446, allocations: 3.938 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.2446, allocations: 3.938 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2446, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.2447, allocations: 27.92 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.2451, allocations: 272.8 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.547e-05/0.2452, allocations: 42.56 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.2452, allocations: 12.86 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.2452, allocations: 4 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.2454, allocations: 63.42 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.2454, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002189/0.2456, allocations: 81.58 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.2457, allocations: 102.8 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.2458, allocations: 109.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.2458, allocations: 25.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.2459, allocations: 92.08 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.2459, allocations: 3.906 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.2459, allocations: 25.7 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.246, allocations: 322.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.2461, allocations: 11.94 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.905e-05/0.2461, allocations: 38.56 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.2462, allocations: 24.86 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2462, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.77e-05/0.2463, allocations: 57.59 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2463, allocations: 8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2463, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2463, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.2464, allocations: 7.938 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.2464, allocations: 4.031 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.2465, allocations: 15.98 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.2465, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 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 7.891e-05/0.2466, allocations: 113.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.2467, allocations: 3.984 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.2467, allocations: 11.5 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2467, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2467, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2467, allocations: 4.188 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.2468, allocations: 173.6 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2468, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.2469, allocations: 8.375 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2469, allocations: 3.984 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.2469, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2469, allocations: 4 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2469, allocations: 7.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.247, allocations: 96.89 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.2471, allocations: 89.09 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.2471, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2472, allocations: 7.984 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.2473, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.2473, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.2473, allocations: 91.27 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2473, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001931/0.2475, allocations: 8 kB / 1.092 GB, free: 13.08 MB / 0.8575 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.0003983/0.2479, allocations: 0.6396 MB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.2481, allocations: 27.98 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2481, allocations: 4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.2481, allocations: 16 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.2483, allocations: 1.719 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.2493, allocations: 1.18 MB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.2495, allocations: 0.6846 MB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.707e-05/0.2496, allocations: 4 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.2496, allocations: 11.44 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.2496, allocations: 0 / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.266, allocations: 1.791 MB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/7.388, allocations: 14.09 kB / 1.096 GB, free: 8.758 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[505]=126144000.000000 File[2]=47192200.000000 Error: Could not read variable conTim.modTim in file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv failed! " Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:time,conTim.calTimAux,conTim.modTimAux,conTim.weaDatEndTim,conTim.weaDatStaTim,conTim.calTim