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.001719/0.001719, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 196.6 kB / 16.53 MB, free: 6.617 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.565/1.565, allocations: 222.9 MB / 240.2 MB, free: 4.207 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.987/2.987, allocations: 437 MB / 0.7104 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 67.89 kB / 0.8692 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.7032, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.004713/0.708, allocations: 1.454 MB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.7088, allocations: 187.4 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.7089, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.276e-05/0.709, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.7094, allocations: 27.86 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.7097, allocations: 56.86 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.7099, allocations: 59.83 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.71, allocations: 7.938 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.7101, allocations: 19.98 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.7103, allocations: 19.92 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.7103, allocations: 8 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.293e-05/0.7103, allocations: 4 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.7104, allocations: 15.91 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.7105, allocations: 27.92 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.7106, allocations: 49.83 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.7107, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.825e-06/0.7107, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.7107, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 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.0008292/0.7115, allocations: 351.4 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.7116, allocations: 8.031 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.7116, allocations: 8.844 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.7119, allocations: 176.3 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.7119, allocations: 4.375 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.7119, allocations: 384 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.7122, allocations: 76.81 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.7122, allocations: 192 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.7122, allocations: 3.938 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.7122, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.087e-05/0.7123, allocations: 19.98 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.7129, allocations: 284.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.713, allocations: 42.55 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.7131, allocations: 16.86 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.7131, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.7133, allocations: 67.42 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.7134, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002584/0.7136, allocations: 69.67 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.7137, allocations: 102.8 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.7138, allocations: 109.8 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.7139, allocations: 25.7 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.67e-05/0.7139, allocations: 88.05 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.714, allocations: 19.77 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.714, allocations: 21.72 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7142, allocations: 322.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/0.7143, allocations: 8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.872e-05/0.7143, allocations: 38.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.045e-05/0.7144, allocations: 24.86 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7144, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000125/0.7145, allocations: 58.06 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.7146, allocations: 8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7146, allocations: 96 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7146, allocations: 8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.7147, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.7147, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.7148, allocations: 11.98 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.7148, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 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.0001192/0.715, allocations: 125.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.715, allocations: 7.906 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.715, allocations: 3.5 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.715, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.715, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.715, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.7152, allocations: 177.6 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7152, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.7153, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7153, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.7153, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.7153, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7153, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.7155, allocations: 93.05 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.7156, allocations: 100.9 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.7156, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.7157, allocations: 11.98 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.7157, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.7158, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.363e-05/0.7158, allocations: 91.27 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.166e-06/0.7158, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002081/0.7161, allocations: 19.94 kB / 1.022 GB, free: 13.59 MB / 0.7794 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.0001509/0.7162, allocations: 103.2 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.7164, allocations: 28.41 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7164, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.7164, allocations: 19.94 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.7166, allocations: 7.969 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.717, allocations: 133.6 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.7174, allocations: 0.6768 MB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.7174, allocations: 4 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.7175, allocations: 11.44 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7175, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.004027/0.7215, allocations: 0.8876 MB / 1.024 GB, free: 11.7 MB / 0.7794 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=400 -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