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.001845/0.001845, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001946/0.001946, allocations: 188 kB / 17.34 MB, free: 5.738 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.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.678/2.678, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 63.91 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9726/0.9747, allocations: 151.6 MB / 1.167 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.004042/0.9788, allocations: 1.452 MB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006657/0.9795, allocations: 191.4 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.9795, allocations: 4 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.103e-05/0.9796, allocations: 7.922 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.9799, allocations: 15.88 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.9802, allocations: 62.47 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.9804, allocations: 59.83 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.9805, allocations: 4 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.9806, allocations: 23.92 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.9807, allocations: 27.92 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.9808, allocations: 4 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.881e-05/0.9808, allocations: 4 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.9808, allocations: 15.97 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.3e-05/0.9809, allocations: 19.86 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.9811, allocations: 55.09 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9811, allocations: 0 / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9811, allocations: 0 / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.9811, allocations: 0 / 1.169 GB, free: 1.836 MB / 0.8887 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.0007693/0.9819, allocations: 356.8 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.982, allocations: 16.86 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.982, allocations: 0.9375 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.9822, allocations: 168.4 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.9823, allocations: 384 / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.9823, allocations: 4.375 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.9825, allocations: 76.81 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.9825, allocations: 8.188 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.9826, allocations: 3.938 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.9826, allocations: 0 / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.318e-05/0.9827, allocations: 19.92 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.9832, allocations: 272.9 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.9834, allocations: 38.56 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.9834, allocations: 12.86 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.9835, allocations: 4 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.9837, allocations: 67.42 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.963e-06/0.9837, allocations: 0 / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0003154/0.9841, allocations: 69.86 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.9842, allocations: 106.8 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.9843, allocations: 105.8 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.9844, allocations: 29.7 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.9845, allocations: 92.03 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.9845, allocations: 15.94 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.9846, allocations: 17.66 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.9848, allocations: 326.7 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.9849, allocations: 12 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-05/0.985, allocations: 38.48 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.213e-05/0.9851, allocations: 24.89 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9851, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001686/0.9853, allocations: 65.64 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9853, allocations: 4 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.9853, allocations: 3.984 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.9853, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.9855, allocations: 12.38 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.9855, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.9856, allocations: 11.98 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.9857, allocations: 4 kB / 1.171 GB, free: 15.63 MB / 0.9044 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.0001472/0.9858, allocations: 125.8 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.9859, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.9859, allocations: 3.5 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.9859, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9859, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.9859, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.9862, allocations: 177.6 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9862, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.9862, allocations: 4 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.9862, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.9863, allocations: 4 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9863, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.9863, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.9865, allocations: 100.9 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.9866, allocations: 85.09 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.9867, allocations: 4 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.9868, allocations: 7.984 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.9869, allocations: 8 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.9869, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.157e-05/0.987, allocations: 87.27 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/0.987, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003284/0.9873, allocations: 12 kB / 1.172 GB, free: 14.91 MB / 0.9044 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.0002015/0.9875, allocations: 105.8 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.9877, allocations: 35.86 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9878, allocations: 4 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/0.9878, allocations: 16 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.9881, allocations: 20.92 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.9886, allocations: 117.4 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.989, allocations: 0.6807 MB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.079e-05/0.9891, allocations: 4 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.9891, allocations: 11.38 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of SimCode: time 6.22e-07/0.9891, allocations: 4 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of Templates: time 0.005087/0.9942, allocations: 0.8933 MB / 1.174 GB, free: 13.01 MB / 0.9044 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 -s cvode -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/jenkins1/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