Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_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_9_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.001025/0.001025, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001269/0.001269, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8683/0.8687, allocations: 142.4 MB / 0.9544 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001652/0.8704, allocations: 1.171 MB / 0.9556 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004162/0.8708, allocations: 174 kB / 0.9558 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.8709, allocations: 5.062 kB / 0.9558 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.8709, allocations: 0 / 0.9558 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.8712, allocations: 24.75 kB / 0.9558 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.8714, allocations: 45.53 kB / 0.9558 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.8715, allocations: 50.66 kB / 0.9559 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.853e-05/0.8716, allocations: 2.875 kB / 0.9559 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.09e-05/0.8716, allocations: 24.23 kB / 0.9559 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.8717, allocations: 21.72 kB / 0.9559 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.8718, allocations: 6.344 kB / 0.9559 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.782e-05/0.8718, allocations: 2.469 kB / 0.9559 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.8718, allocations: 10.02 kB / 0.9559 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.8719, allocations: 33.92 kB / 0.956 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.456e-05/0.8719, allocations: 34.89 kB / 0.956 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.872, allocations: 0 / 0.956 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.872, allocations: 0 / 0.956 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.872, allocations: 1.344 kB / 0.956 GB, free: 6.723 MB / 0.7169 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.0004631/0.8724, allocations: 345.1 kB / 0.9563 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.8725, allocations: 9.375 kB / 0.9563 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.8725, allocations: 10.2 kB / 0.9564 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.8726, allocations: 166.8 kB / 0.9565 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.8727, allocations: 5.047 kB / 0.9565 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.8727, allocations: 2.094 kB / 0.9565 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.8728, allocations: 77.88 kB / 0.9566 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.8729, allocations: 0 / 0.9566 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.8729, allocations: 1.344 kB / 0.9566 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.8729, allocations: 5.297 kB / 0.9566 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.267e-05/0.873, allocations: 20.27 kB / 0.9566 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.8733, allocations: 273.1 kB / 0.9569 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.075e-05/0.8734, allocations: 43.77 kB / 0.9569 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.8735, allocations: 18.5 kB / 0.9569 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.8735, allocations: 1.156 kB / 0.9569 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.8737, allocations: 66.59 kB / 0.957 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.8737, allocations: 0 / 0.957 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002134/0.8739, allocations: 78.73 kB / 0.9571 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.874, allocations: 107.8 kB / 0.9572 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.184e-05/0.874, allocations: 108.8 kB / 0.9573 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.8741, allocations: 26.86 kB / 0.9573 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.8741, allocations: 86.27 kB / 0.9574 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.8741, allocations: 5.219 kB / 0.9574 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.8741, allocations: 1.25 kB / 0.9574 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.8742, allocations: 316 kB / 0.9577 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.8742, allocations: 13.08 kB / 0.9577 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.394e-05/0.8743, allocations: 39.59 kB / 0.9578 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.8743, allocations: 10.12 kB / 0.9578 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.8743, allocations: 0 / 0.9578 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.274e-05/0.8744, allocations: 68.19 kB / 0.9578 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8744, allocations: 5.594 kB / 0.9578 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8745, allocations: 3.953 kB / 0.9578 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.8745, allocations: 448 / 0.9578 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.8746, allocations: 5.438 kB / 0.9578 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8746, allocations: 1.094 kB / 0.9578 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.8747, allocations: 20.05 kB / 0.9579 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.8747, allocations: 1.062 kB / 0.9579 GB, free: 4.77 MB / 0.7169 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.168e-05/0.8748, allocations: 116.8 kB / 0.958 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.8748, allocations: 2.156 kB / 0.958 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.8748, allocations: 4.75 kB / 0.958 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.8748, allocations: 9.188 kB / 0.958 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8748, allocations: 0 / 0.958 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.8749, allocations: 0 / 0.958 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.278e-05/0.875, allocations: 166 kB / 0.9581 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.875, allocations: 5 kB / 0.9582 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.875, allocations: 2.344 kB / 0.9582 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.875, allocations: 4.984 kB / 0.9582 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.875, allocations: 1.156 kB / 0.9582 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.875, allocations: 0 / 0.9582 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.875, allocations: 3.953 kB / 0.9582 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.8752, allocations: 90.84 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.8752, allocations: 88.22 kB / 0.9583 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.8752, allocations: 5.188 kB / 0.9583 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.8753, allocations: 13.61 kB / 0.9584 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.8754, allocations: 10.3 kB / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.8754, allocations: 1.031 kB / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.464e-05/0.8754, allocations: 84.78 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8754, allocations: 0 / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002011/0.8756, allocations: 14.25 kB / 0.9585 GB, free: 4.133 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001156/0.8758, allocations: 115.9 kB / 0.9586 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.8759, allocations: 37.39 kB / 0.9586 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8759, allocations: 0 / 0.9586 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.876, allocations: 17.22 kB / 0.9586 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.8761, allocations: 2.188 kB / 0.9586 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.8764, allocations: 131.5 kB / 0.9587 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.8766, allocations: 0.6856 MB / 0.9594 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.084e-05/0.8766, allocations: 8.797 kB / 0.9594 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.8766, allocations: 9.625 kB / 0.9594 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8767, allocations: 0 / 0.9594 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.003022/0.8797, allocations: 0.8046 MB / 0.9602 GB, free: 2.766 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches