Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_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.008874/0.008874, allocations: 101.7 kB / 15.73 MB, free: 6.484 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.002217/0.002217, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.501/2.501, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 67.89 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2758, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002677/0.2785, allocations: 1.456 MB / 1.209 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004858/0.279, allocations: 183.4 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.2791, allocations: 11.94 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.2791, allocations: 0 / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.2794, allocations: 23.84 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.2797, allocations: 53.48 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.2798, allocations: 59.78 kB / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2799, allocations: 7.984 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.7e-05/0.28, allocations: 23.98 kB / 1.209 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-05/0.2801, allocations: 23.91 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.2801, allocations: 8 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.2802, allocations: 4 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.2802, allocations: 11.94 kB / 1.209 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.2802, allocations: 23.91 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.2804, allocations: 52.09 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2804, allocations: 0 / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2804, allocations: 0 / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2804, allocations: 0 / 1.209 GB, free: 8.195 MB / 0.9669 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.0004935/0.2809, allocations: 351.4 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2809, allocations: 16.03 kB / 1.21 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.281, allocations: 30.75 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.281, allocations: 12.78 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2811, allocations: 168.4 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.2812, allocations: 12.38 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.2812, allocations: 384 / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.2813, allocations: 72.81 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2813, allocations: 3.938 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.2814, allocations: 4 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2814, allocations: 0 / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.862e-05/0.2814, allocations: 31.91 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.2818, allocations: 264.9 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.042e-05/0.2819, allocations: 38.56 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.2819, allocations: 16.8 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.2819, allocations: 8 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.2821, allocations: 67.33 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.2821, allocations: 0 / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001891/0.2823, allocations: 73.67 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.2824, allocations: 102.8 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.2824, allocations: 105.8 kB / 1.21 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2825, allocations: 25.7 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.2825, allocations: 92.14 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.2825, allocations: 11.75 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.2826, allocations: 25.7 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.2827, allocations: 322.7 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.2827, allocations: 11.98 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.647e-05/0.2828, allocations: 38.56 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/0.2828, allocations: 24.86 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2828, allocations: 4.031 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.113e-05/0.2829, allocations: 53.69 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2829, allocations: 8 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2829, allocations: 448 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.283, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.283, allocations: 7.938 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.283, allocations: 0 / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.2832, allocations: 19.98 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.2832, allocations: 0 / 1.211 GB, free: 5.941 MB / 0.9669 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.795e-05/0.2833, allocations: 117.8 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.2833, allocations: 3.906 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.2833, allocations: 15.48 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2833, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2833, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2833, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.2834, allocations: 169.6 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2835, allocations: 0 / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.2835, allocations: 7.984 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2835, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.2835, allocations: 3.938 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2835, allocations: 4 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2835, allocations: 4 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.2836, allocations: 92.98 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.2837, allocations: 81.11 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.2837, allocations: 3.984 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.2838, allocations: 8 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.2839, allocations: 7.984 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.2839, allocations: 4 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.2839, allocations: 87.28 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2839, allocations: 0 / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001889/0.2841, allocations: 15.89 kB / 1.212 GB, free: 5.23 MB / 0.9669 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.0003606/0.2845, allocations: 0.6321 MB / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.2846, allocations: 31.98 kB / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2846, allocations: 0 / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.2847, allocations: 16 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.2848, allocations: 9.5 kB / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009761/0.2858, allocations: 1.177 MB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.286, allocations: 0.6846 MB / 1.214 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.692e-05/0.2861, allocations: 4 kB / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.2861, allocations: 15.44 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.2861, allocations: 4 kB / 1.214 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.3033, allocations: 1.812 MB / 1.216 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.334, allocations: 14.62 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.calTimAux,conTim.modTim,conTim.modTimAux,conTim.weaDatEndTim,conTim.weaDatStaTim,modTim.y,time