Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009229/0.009229, allocations: 96.72 kB / 15.73 MB, free: 6.004 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.001616/0.001616, allocations: 194.5 kB / 16.67 MB, free: 5.934 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.61/1.61, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3764, allocations: 151.6 MB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002652/0.3792, allocations: 1.447 MB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004461/0.3796, allocations: 203.3 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.3797, allocations: 0 / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.3797, allocations: 0 / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.38, allocations: 19.86 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.3802, allocations: 67.34 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.3803, allocations: 51.84 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.3804, allocations: 8 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.681e-05/0.3804, allocations: 23.92 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.3805, allocations: 23.91 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.3806, allocations: 4 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.731e-05/0.3806, allocations: 4 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.3806, allocations: 11.98 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.3807, allocations: 23.92 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.3808, allocations: 55.73 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3808, allocations: 0 / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3808, allocations: 0 / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3808, allocations: 0 / 1.169 GB, free: 4.871 MB / 0.92 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.0005482/0.3814, allocations: 355.3 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3814, allocations: 12.03 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.3815, allocations: 0.9375 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3816, allocations: 176.2 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3816, allocations: 4.375 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3816, allocations: 8.375 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.3818, allocations: 68.81 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3818, allocations: 4.188 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3818, allocations: 3.938 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3818, allocations: 3.984 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.727e-05/0.3819, allocations: 19.98 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.3823, allocations: 280.8 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3824, allocations: 38.56 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.3824, allocations: 16.95 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.3825, allocations: 3.984 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.3826, allocations: 63.33 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3826, allocations: 0 / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002029/0.3828, allocations: 73.69 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.3829, allocations: 106.8 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.383, allocations: 105.8 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.383, allocations: 25.7 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.3831, allocations: 88.09 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.3831, allocations: 11.94 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.3831, allocations: 17.72 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3832, allocations: 322.8 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/0.3833, allocations: 12 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.128e-05/0.3833, allocations: 38.5 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.976e-05/0.3834, allocations: 25.23 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3834, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001026/0.3835, allocations: 65.64 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3835, allocations: 7.938 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3835, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3835, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.88e-05/0.3836, allocations: 16.02 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3836, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.3837, allocations: 4 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3838, allocations: 7.984 kB / 1.17 GB, free: 2.664 MB / 0.92 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.979e-05/0.3838, allocations: 121.7 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.3839, allocations: 0 / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.3839, allocations: 7.5 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3839, allocations: 4 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3839, allocations: 0 / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.3839, allocations: 4 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.384, allocations: 177.5 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.384, allocations: 3.938 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.3841, allocations: 4 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3841, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3841, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3841, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3841, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.3842, allocations: 104.9 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.3843, allocations: 81.09 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.3843, allocations: 4 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.3844, allocations: 7.984 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.3845, allocations: 8.234 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3845, allocations: 0 / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.3845, allocations: 91.33 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3845, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001867/0.3847, allocations: 12 kB / 1.171 GB, free: 1.945 MB / 0.92 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.0001223/0.3849, allocations: 107.2 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.385, allocations: 31.98 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.385, allocations: 0 / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.256e-05/0.3851, allocations: 15.94 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.3852, allocations: 15.92 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.3855, allocations: 117.4 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.3858, allocations: 0.6846 MB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.3858, allocations: 7.938 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.3858, allocations: 15.42 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/0.3859, allocations: 0 / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of Templates: time 0.003088/0.3889, allocations: 0.8799 MB / 1.173 GB, free: 52 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches