Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009862/0.009862, allocations: 105.8 kB / 15.74 MB, free: 5.992 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.002126/0.002126, allocations: 195.4 kB / 16.67 MB, free: 5.914 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.574/1.574, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7348 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 72.05 kB / 1.054 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9722/0.9737, allocations: 157.4 MB / 1.208 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002719/0.9764, allocations: 1.447 MB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004365/0.9769, allocations: 190 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.977, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.977, allocations: 11.92 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.9772, allocations: 19.86 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.9774, allocations: 55.91 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.9775, allocations: 59.83 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.157e-05/0.9776, allocations: 4 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.243e-05/0.9777, allocations: 23.92 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.112e-05/0.9778, allocations: 23.92 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.9778, allocations: 4 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.9778, allocations: 8 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.9779, allocations: 15.91 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.9779, allocations: 27.86 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.755e-05/0.978, allocations: 47.66 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.978, allocations: 4 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/0.978, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.9781, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 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.0005464/0.9786, allocations: 345.4 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.9786, allocations: 8.031 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.9787, allocations: 8.938 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.9788, allocations: 176.3 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.9789, allocations: 384 / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.9789, allocations: 8.312 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.979, allocations: 76.75 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.979, allocations: 192 / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.9791, allocations: 3.938 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.9791, allocations: 4 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.396e-05/0.9791, allocations: 19.98 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.9795, allocations: 272.8 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.797e-05/0.9796, allocations: 42.5 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.9796, allocations: 16.86 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.148e-06/0.9797, allocations: 0 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.9798, allocations: 67.47 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.9798, allocations: 0 / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002004/0.98, allocations: 77.52 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.9801, allocations: 102.8 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.9802, allocations: 109.8 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.9802, allocations: 25.7 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.9802, allocations: 84.14 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.9803, allocations: 11.89 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.9803, allocations: 25.72 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.9804, allocations: 318.8 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.9805, allocations: 15.94 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/0.9805, allocations: 30.56 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.047e-05/0.9806, allocations: 24.86 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9806, allocations: 0 / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.923e-05/0.9807, allocations: 69.91 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.9807, allocations: 8.031 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.9807, allocations: 64 / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.9807, allocations: 4 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/0.9808, allocations: 4 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.9808, allocations: 4 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.9809, allocations: 7.984 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.9809, allocations: 0 / 1.212 GB, free: 9.594 MB / 0.9356 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.746e-05/0.981, allocations: 117.8 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.9811, allocations: 11.98 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.9811, allocations: 3.5 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.9811, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9811, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9811, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.9813, allocations: 177.6 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9813, allocations: 4 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.9813, allocations: 3.938 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.9813, allocations: 3.938 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.9813, allocations: 4 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9813, allocations: 0 / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9814, allocations: 4 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.9815, allocations: 92.95 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.9816, allocations: 93.03 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.9816, allocations: 0 / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.9817, allocations: 11.98 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.9817, allocations: 0 / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.9817, allocations: 4 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.9818, allocations: 91.27 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9818, allocations: 0 / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001892/0.982, allocations: 12 kB / 1.212 GB, free: 8.871 MB / 0.9356 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.0001116/0.9821, allocations: 99.25 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.9822, allocations: 35.92 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9822, allocations: 3.938 kB / 1.212 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.9823, allocations: 12 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.9824, allocations: 7.938 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.9828, allocations: 139.6 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.983, allocations: 0.6845 MB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.643e-05/0.9831, allocations: 7.984 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.9831, allocations: 11.44 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.9831, allocations: 0 / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of Templates: time 0.002846/0.986, allocations: 0.9103 MB / 1.214 GB, free: 6.914 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches