Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001203/0.001203, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001193/0.001193, allocations: 192 kB / 17.31 MB, free: 5.18 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.558/2.558, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.06 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3409, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00245/0.3434, allocations: 1.462 MB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003508/0.3438, allocations: 187.3 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.3438, allocations: 0 / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.3439, allocations: 3.938 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.344, allocations: 23.84 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.3442, allocations: 63.03 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.216e-05/0.3443, allocations: 59.83 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.854e-05/0.3444, allocations: 12 kB / 1.029 GB, free: 260 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.3444, allocations: 23.92 kB / 1.029 GB, free: 236 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.3445, allocations: 15.92 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.3445, allocations: 4 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.3445, allocations: 7.938 kB / 1.029 GB, free: 208 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.3446, allocations: 15.97 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.3446, allocations: 23.92 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.725e-05/0.3447, allocations: 51.8 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3447, allocations: 4 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3447, allocations: 0 / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.3447, allocations: 0 / 1.029 GB, free: 112 kB / 0.795 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.0004256/0.3452, allocations: 351.5 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.379e-05/0.3452, allocations: 11.97 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.3452, allocations: 4.938 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.3453, allocations: 168.2 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3454, allocations: 12.31 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.3454, allocations: 384 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.3455, allocations: 80.75 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-06/0.3455, allocations: 192 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3455, allocations: 3.938 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-06/0.3455, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.3456, allocations: 19.98 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.3459, allocations: 264.9 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.904e-05/0.346, allocations: 50.5 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.346, allocations: 16.94 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-06/0.346, allocations: 0 / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.3461, allocations: 59.39 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3461, allocations: 0 / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000171/0.3463, allocations: 77.62 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.3464, allocations: 110.8 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.3465, allocations: 105.9 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.3465, allocations: 25.7 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.3465, allocations: 96.03 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.3465, allocations: 7.844 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.3466, allocations: 17.72 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3467, allocations: 322.8 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.3467, allocations: 12 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.008e-05/0.3468, allocations: 38.56 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.568e-05/0.3468, allocations: 20.86 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3469, allocations: 4 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000102/0.347, allocations: 61.53 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.347, allocations: 6.656 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.347, allocations: 4 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.347, allocations: 0 / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.3471, allocations: 7.984 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3471, allocations: 8.016 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.3472, allocations: 11.94 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3472, allocations: 7.984 kB / 1.031 GB, free: 13.9 MB / 0.8106 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.604e-05/0.3473, allocations: 113.8 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.3473, allocations: 192 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.3473, allocations: 15.48 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3473, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3473, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.3473, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.3475, allocations: 177.6 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3475, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.3475, allocations: 12.31 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3475, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.3475, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3475, allocations: 4 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3475, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.3477, allocations: 96.95 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.3477, allocations: 89.09 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3477, allocations: 0 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3479, allocations: 11.98 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.3479, allocations: 4 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3479, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.3479, allocations: 87.27 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.348, allocations: 4 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000193/0.3481, allocations: 8 kB / 1.031 GB, free: 13.18 MB / 0.8106 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 9.84e-05/0.3483, allocations: 107.2 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.568e-05/0.3484, allocations: 31.98 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.3484, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.3484, allocations: 15.98 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.3485, allocations: 11.94 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.3488, allocations: 121.4 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.349, allocations: 0.6807 MB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.349, allocations: 8 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.349, allocations: 15.42 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.349, allocations: 0 / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of Templates: time 0.002489/0.3515, allocations: 0.8756 MB / 1.033 GB, free: 11.3 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches