Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007843/0.007843, allocations: 101.7 kB / 15.73 MB, free: 6.062 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.001789/0.001789, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.6/2.6, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 71.89 kB / 1.065 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8623/0.8635, allocations: 159.1 MB / 1.221 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003222/0.8667, allocations: 1.457 MB / 1.222 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.8672, allocations: 195.4 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.8673, allocations: 0 / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.8673, allocations: 0 / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.8676, allocations: 27.78 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.8679, allocations: 56.61 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.868, allocations: 55.84 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.8681, allocations: 8 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.8682, allocations: 27.91 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.98e-05/0.8682, allocations: 19.92 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.8683, allocations: 4 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.8683, allocations: 4 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.8683, allocations: 7.984 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.8683, allocations: 27.91 kB / 1.223 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.8685, allocations: 43.11 kB / 1.223 GB, free: 168 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8685, allocations: 8 kB / 1.223 GB, free: 160 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8685, allocations: 4 kB / 1.223 GB, free: 156 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.8685, allocations: 0 / 1.223 GB, free: 156 kB / 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.0005711/0.869, allocations: 352.7 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8691, allocations: 8.031 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.8691, allocations: 4.938 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.8693, allocations: 180.3 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.8693, allocations: 384 / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.8693, allocations: 4.375 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.8695, allocations: 80.75 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8695, allocations: 192 / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.8695, allocations: 3.938 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.8695, allocations: 4 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.912e-05/0.8696, allocations: 19.98 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.87, allocations: 272.8 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.8701, allocations: 38.58 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.8701, allocations: 16.94 kB / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.8701, allocations: 0 / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.8703, allocations: 67.31 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.8703, allocations: 0 / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002113/0.8705, allocations: 73.64 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.8706, allocations: 110.8 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.296e-05/0.8707, allocations: 105.9 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.8707, allocations: 25.7 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.8707, allocations: 88.06 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.8708, allocations: 11.95 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.8708, allocations: 25.64 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.871, allocations: 318.8 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.871, allocations: 8 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.8711, allocations: 42.5 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.681e-05/0.8711, allocations: 24.86 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8711, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.495e-05/0.8712, allocations: 61.64 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.8712, allocations: 4 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8712, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.8712, allocations: 4 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.8713, allocations: 8.422 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.8713, allocations: 3.938 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.8714, allocations: 16.02 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.8715, allocations: 4 kB / 1.224 GB, free: 13.95 MB / 0.9512 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.0001149/0.8716, allocations: 118.3 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.8716, allocations: 0 / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.8716, allocations: 7.5 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8716, allocations: 7.938 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.8716, allocations: 0 / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8716, allocations: 0 / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.8718, allocations: 173.5 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8718, allocations: 4 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.8718, allocations: 8 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.8718, allocations: 0 / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.8718, allocations: 0 / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8718, allocations: 0 / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.8718, allocations: 0 / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.872, allocations: 96.98 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.872, allocations: 85.09 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.8721, allocations: 4 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.8722, allocations: 7.984 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.8722, allocations: 8 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.8722, allocations: 3.984 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.8723, allocations: 79.28 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.8723, allocations: 0 / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002004/0.8725, allocations: 16 kB / 1.225 GB, free: 13.24 MB / 0.9512 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.0001742/0.8726, allocations: 105.1 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.8728, allocations: 31.98 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8728, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.362e-05/0.8728, allocations: 23.92 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.873, allocations: 7.875 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.8733, allocations: 137.6 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.8736, allocations: 0.6768 MB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.168e-05/0.8736, allocations: 15.97 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.8737, allocations: 11.44 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.8737, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.003363/0.877, allocations: 0.8936 MB / 1.227 GB, free: 11.33 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches