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.01304/0.01304, allocations: 105.5 kB / 15.74 MB, free: 5.594 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.002658/0.002659, allocations: 193.8 kB / 16.67 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.278/2.278, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.542/3.542, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.89 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395/1.397, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003249/1.401, allocations: 1.459 MB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000526/1.401, allocations: 185.2 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/1.401, allocations: 1.188 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/1.401, allocations: 0.6094 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000282/1.402, allocations: 28.03 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/1.402, allocations: 57.33 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/1.402, allocations: 55.56 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/1.402, allocations: 9.359 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/1.402, allocations: 26.8 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/1.402, allocations: 20.09 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/1.403, allocations: 4.25 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.049e-05/1.403, allocations: 5.031 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/1.403, allocations: 12.47 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/1.403, allocations: 22.42 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/1.403, allocations: 51.38 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.403, allocations: 0 / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.555e-06/1.403, allocations: 0.8438 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.104e-06/1.403, allocations: 0 / 1.089 GB, free: 4.004 MB / 0.8575 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.0005917/1.403, allocations: 353.6 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/1.404, allocations: 13.56 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/1.404, allocations: 37.14 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/1.404, allocations: 11 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/1.404, allocations: 177.8 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.404, allocations: 1.5 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/1.404, allocations: 6.531 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/1.404, allocations: 74.94 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.404, allocations: 5 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/1.404, allocations: 0 / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/1.404, allocations: 5.078 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.052e-05/1.404, allocations: 20.09 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/1.405, allocations: 275.1 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/1.405, allocations: 42.58 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/1.405, allocations: 16.11 kB / 1.09 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/1.405, allocations: 0.7188 kB / 1.09 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/1.405, allocations: 63.58 kB / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/1.405, allocations: 0 / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002865/1.405, allocations: 73.39 kB / 1.09 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/1.405, allocations: 108.6 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/1.406, allocations: 109 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/1.406, allocations: 26.48 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/1.406, allocations: 83.09 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/1.406, allocations: 11.36 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/1.406, allocations: 21.52 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/1.406, allocations: 320.9 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/1.406, allocations: 10.98 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/1.406, allocations: 36.56 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.168e-05/1.406, allocations: 25.61 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.406, allocations: 0 / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001321/1.406, allocations: 63.64 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.406, allocations: 4.594 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.406, allocations: 2.156 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.406, allocations: 0 / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/1.406, allocations: 11.39 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/1.406, allocations: 7.938 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/1.406, allocations: 12.52 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/1.406, allocations: 1.469 kB / 1.091 GB, free: 2.047 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 8.955e-05/1.407, allocations: 118.3 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/1.407, allocations: 3.125 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/1.407, allocations: 8.922 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/1.407, allocations: 0.7812 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.407, allocations: 0.9375 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.407, allocations: 0.6094 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/1.407, allocations: 172.1 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/1.407, allocations: 4.562 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/1.407, allocations: 3.859 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/1.407, allocations: 0.8125 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/1.407, allocations: 4.562 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.407, allocations: 1.406 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.407, allocations: 1 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/1.407, allocations: 92.73 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/1.407, allocations: 91.75 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/1.407, allocations: 5.656 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/1.407, allocations: 8.5 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/1.407, allocations: 3.578 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/1.407, allocations: 7.016 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.985e-05/1.407, allocations: 82.83 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/1.407, allocations: 0 / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002972/1.408, allocations: 13.72 kB / 1.092 GB, free: 1.438 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.0004731/1.408, allocations: 0.6387 MB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001823/1.408, allocations: 29.78 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.408, allocations: 1.281 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/1.409, allocations: 14.75 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/1.409, allocations: 10.25 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/1.41, allocations: 1.167 MB / 1.094 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/1.411, allocations: 0.6832 MB / 1.094 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.945e-05/1.411, allocations: 6.406 kB / 1.094 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/1.411, allocations: 14.81 kB / 1.094 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of SimCode: time 1.453e-06/1.411, allocations: 0.7812 kB / 1.094 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.448/1.859, allocations: 1.809 MB / 1.096 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/13.85, allocations: 18.19 kB / 1.096 GB, free: 14.58 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 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.mat","/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) "" 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