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.001179/0.001179, allocations: 103.9 kB / 16.4 MB, free: 6.508 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.001308/0.001308, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.15 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.471/2.471, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 67.84 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8419/0.8434, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002468/0.8459, allocations: 1.463 MB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004189/0.8463, allocations: 183.4 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.8464, allocations: 4 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.8464, allocations: 3.938 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.8467, allocations: 32.72 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.8469, allocations: 53.55 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.847, allocations: 59.83 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.8471, allocations: 7.938 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.8472, allocations: 23.97 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.307e-05/0.8472, allocations: 23.91 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.8473, allocations: 4 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.8473, allocations: 8 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.8473, allocations: 15.94 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.8474, allocations: 19.91 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.8475, allocations: 55.47 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.8475, allocations: 0 / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8475, allocations: 0 / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.8475, allocations: 0 / 1.169 GB, free: 1.879 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.0005107/0.848, allocations: 345.4 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.8481, allocations: 12.92 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.8481, allocations: 4.938 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.8482, allocations: 172.3 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.8482, allocations: 384 / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.8483, allocations: 4.375 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.8484, allocations: 76.75 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.8484, allocations: 192 / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.8484, allocations: 11.94 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.8485, allocations: 0 / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.575e-05/0.8485, allocations: 19.98 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.8489, allocations: 276.8 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.225e-05/0.849, allocations: 38.52 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.849, allocations: 24.88 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.849, allocations: 0 / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.8492, allocations: 67.39 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.8492, allocations: 0 / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001967/0.8494, allocations: 73.58 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.8495, allocations: 110.8 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.97e-05/0.8495, allocations: 97.86 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.8496, allocations: 33.64 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.8496, allocations: 88.12 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.8496, allocations: 7.906 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.8497, allocations: 25.7 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.8498, allocations: 318.8 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.945e-05/0.8499, allocations: 12 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.662e-05/0.8499, allocations: 30.56 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.001e-05/0.85, allocations: 24.86 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.85, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.643e-05/0.8501, allocations: 65.53 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.8501, allocations: 4 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.8501, allocations: 4.031 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.8501, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/0.8502, allocations: 15.98 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.8502, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.8503, allocations: 8.422 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.8503, allocations: 0 / 1.171 GB, free: 15.69 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 7.796e-05/0.8504, allocations: 117.8 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.8504, allocations: 8 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.8505, allocations: 7.5 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8505, allocations: 192 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8505, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.8505, allocations: 7.984 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.8506, allocations: 173.6 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8506, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.8507, allocations: 4 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.8507, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.8507, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.8507, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8507, allocations: 7.922 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.8508, allocations: 96.97 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.8509, allocations: 89.03 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.8509, allocations: 4 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.851, allocations: 10.48 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.8511, allocations: 3.938 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.8511, allocations: 11.92 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.8511, allocations: 83.28 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8511, allocations: 4 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001966/0.8513, allocations: 12 kB / 1.172 GB, free: 14.96 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.0001107/0.8515, allocations: 103.2 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.8516, allocations: 31.92 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8516, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.062e-05/0.8516, allocations: 19.98 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.8518, allocations: 7.875 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.8521, allocations: 155.1 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.8524, allocations: 0.6807 MB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.8524, allocations: 11.42 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8524, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.002221/0.8546, allocations: 0.8304 MB / 1.174 GB, free: 13.07 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 -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) "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.modTim,time