Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001373/0.001373, allocations: 106 kB / 15.99 MB, free: 6.352 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.001619/0.001619, allocations: 193 kB / 16.91 MB, free: 6.184 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.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.746/2.746, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 69.45 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3366, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002889/0.3396, allocations: 1.523 MB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004566/0.34, allocations: 182.3 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.3401, allocations: 0 / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.3401, allocations: 0 / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.3404, allocations: 27.91 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.3406, allocations: 43.94 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3407, allocations: 59.78 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.3408, allocations: 4 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.3409, allocations: 27.97 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.328e-05/0.3409, allocations: 15.92 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.341, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.341, allocations: 11.94 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.341, allocations: 11.92 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.3411, allocations: 27.91 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.402e-05/0.3412, allocations: 36.17 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3412, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3412, allocations: 4 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3412, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 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.0005941/0.3418, allocations: 347.5 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3418, allocations: 8.031 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.3419, allocations: 4.938 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.3421, allocations: 172.2 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3421, allocations: 4.312 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3421, allocations: 12.38 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3423, allocations: 72.75 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3423, allocations: 192 / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3423, allocations: 3.938 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3423, allocations: 4 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.867e-05/0.3424, allocations: 19.97 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.3428, allocations: 280.9 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.3429, allocations: 42.45 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.343, allocations: 20.94 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.343, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.3432, allocations: 59.39 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3432, allocations: 4 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002369/0.3434, allocations: 81.52 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.3435, allocations: 102.8 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.765e-05/0.3436, allocations: 101.9 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.3437, allocations: 29.7 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.3437, allocations: 84.12 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3437, allocations: 15.83 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.3438, allocations: 25.7 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.344, allocations: 318.8 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.344, allocations: 12 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.544e-05/0.3441, allocations: 34.56 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.523e-05/0.3441, allocations: 24.86 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3441, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001064/0.3442, allocations: 65.53 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3443, allocations: 6.188 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3443, allocations: 3.984 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.3443, allocations: 4.031 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.3444, allocations: 7.984 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3444, allocations: 4 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.3445, allocations: 7.984 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3445, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 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.00011/0.3446, allocations: 117.8 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.3446, allocations: 4 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.3447, allocations: 7.5 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3447, allocations: 4.438 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3447, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3447, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3449, allocations: 177.6 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3449, allocations: 4 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.3449, allocations: 3.938 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3449, allocations: 7.875 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3449, allocations: 4 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3449, allocations: 3.984 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3449, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.3451, allocations: 92.97 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.3452, allocations: 85.09 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.3452, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3453, allocations: 11.98 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.3453, allocations: 8.219 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3454, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.3454, allocations: 79.28 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3454, allocations: 4 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002/0.3456, allocations: 12 kB / 1.069 GB, free: 10.19 MB / 0.8419 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.0001675/0.3458, allocations: 107.2 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.3459, allocations: 31.92 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3459, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.346, allocations: 19.98 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.3462, allocations: 7.938 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.3465, allocations: 159.2 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.3469, allocations: 0.6845 MB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.3469, allocations: 11.42 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3469, allocations: 4 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of Templates: time 0.002384/0.3493, allocations: 0.8266 MB / 1.07 GB, free: 8.297 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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