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.00197/0.00197, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002367/0.002367, allocations: 195.5 kB / 16.26 MB, free: 6.621 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.505/1.505, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.918/2.918, allocations: 437 MB / 0.7101 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.89 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6228/0.6247, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002875/0.6277, allocations: 1.534 MB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004293/0.6281, allocations: 183.4 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.6281, allocations: 0 / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.6282, allocations: 0 / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.6284, allocations: 23.92 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.6286, allocations: 51.55 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.6287, allocations: 55.8 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.6288, allocations: 7.984 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.171e-05/0.6289, allocations: 31.91 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.6289, allocations: 15.92 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.629, allocations: 8 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.181e-05/0.629, allocations: 4 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.629, allocations: 11.92 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.6291, allocations: 27.92 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.6292, allocations: 45.83 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6292, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6292, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.6293, allocations: 0 / 1.019 GB, free: 0.793 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.0005879/0.6299, allocations: 355.4 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6299, allocations: 8.031 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.6299, allocations: 8.844 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.6301, allocations: 164.4 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.6301, allocations: 8.375 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.6301, allocations: 4.375 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.6303, allocations: 76.75 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.6303, allocations: 192 / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.6303, allocations: 3.938 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6304, allocations: 0 / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.708e-05/0.6304, allocations: 19.98 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.6308, allocations: 284.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.631, allocations: 42.5 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.631, allocations: 20.84 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.631, allocations: 3.938 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.6312, allocations: 63.48 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.6312, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000231/0.6315, allocations: 73.61 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.6316, allocations: 106.8 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.6317, allocations: 109.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.6317, allocations: 25.7 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.6318, allocations: 91.98 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.6318, allocations: 7.906 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.6318, allocations: 29.7 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.632, allocations: 314.8 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.632, allocations: 11.98 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.6321, allocations: 38.56 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.6322, allocations: 24.86 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6322, allocations: 3.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001019/0.6323, allocations: 53.69 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.6323, allocations: 8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6323, allocations: 4.031 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6323, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.6324, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.6324, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.6325, allocations: 11.98 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.6325, allocations: 0 / 1.021 GB, free: 14.59 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.0001027/0.6326, allocations: 117.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.6327, allocations: 7.906 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.6327, allocations: 15.48 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6327, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6327, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6327, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.6329, allocations: 169.5 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6329, allocations: 4.422 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.6329, allocations: 8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6329, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.6329, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.633, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.633, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.6331, allocations: 93.05 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.6332, allocations: 88.95 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.6332, allocations: 3.984 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.6333, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.6334, allocations: 11.98 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.6334, allocations: 3.938 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.6335, allocations: 91.2 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6335, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001994/0.6337, allocations: 12 kB / 1.021 GB, free: 13.86 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.000132/0.6338, allocations: 107.7 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.6339, allocations: 27.98 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6339, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.162e-05/0.634, allocations: 12.23 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.6342, allocations: 15.88 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.6345, allocations: 139.2 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.6349, allocations: 0.6827 MB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.926e-05/0.6349, allocations: 7.984 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.6349, allocations: 7.438 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.635, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of Templates: time 0.003382/0.6383, allocations: 0.8664 MB / 1.023 GB, free: 11.99 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