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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002492/0.002492, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 71.89 kB / 1.057 GB, free: 1.949 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.316, allocations: 160.7 MB / 1.214 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002719/0.3187, allocations: 1.466 MB / 1.216 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004429/0.3191, allocations: 191.4 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.3192, allocations: 0 / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.3192, allocations: 7.984 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.3194, allocations: 19.86 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.3196, allocations: 70.47 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3197, allocations: 51.84 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.3198, allocations: 11.98 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.429e-05/0.3198, allocations: 27.92 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.151e-05/0.3199, allocations: 15.92 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.32, allocations: 8 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.32, allocations: 4 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.32, allocations: 15.97 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.3201, allocations: 23.86 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.3202, allocations: 47.8 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3202, allocations: 4 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3202, allocations: 0 / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.3202, allocations: 4 kB / 1.216 GB, free: 14.95 MB / 0.9669 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.0005862/0.3208, allocations: 351.3 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3208, allocations: 8.031 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.3209, allocations: 4.938 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.321, allocations: 180.2 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.321, allocations: 384 / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.321, allocations: 384 / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3212, allocations: 72.81 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3212, allocations: 4.188 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.3212, allocations: 3.938 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3212, allocations: 0 / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.654e-05/0.3213, allocations: 23.98 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.3217, allocations: 272.8 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3218, allocations: 42.55 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.3218, allocations: 12.86 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.3218, allocations: 4 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.322, allocations: 64.16 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.322, allocations: 0 / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002221/0.3222, allocations: 73.67 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.3223, allocations: 106.8 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.3224, allocations: 105.8 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3224, allocations: 25.7 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.3224, allocations: 88.09 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.3225, allocations: 19.88 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.3225, allocations: 17.72 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3226, allocations: 318.8 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/0.3227, allocations: 12 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.937e-05/0.3227, allocations: 42.75 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.452e-05/0.3228, allocations: 24.89 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3228, allocations: 7.938 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001071/0.3229, allocations: 61.64 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3229, allocations: 4 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3229, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3229, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.323, allocations: 8 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.323, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.3231, allocations: 13.8 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3231, allocations: 4 kB / 1.218 GB, free: 12.75 MB / 0.9669 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.000115/0.3232, allocations: 129.7 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.3233, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.3233, allocations: 7.5 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3233, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3233, allocations: 4 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3233, allocations: 0 / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.3235, allocations: 169.6 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3235, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.3235, allocations: 8 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3235, allocations: 0 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3235, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3235, allocations: 0 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3235, allocations: 192 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.3237, allocations: 100.9 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.3237, allocations: 85.09 kB / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3238, allocations: 4 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3239, allocations: 7.984 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3239, allocations: 12 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3239, allocations: 0 / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.476e-05/0.324, allocations: 83.27 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.324, allocations: 0 / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001932/0.3242, allocations: 19.94 kB / 1.218 GB, free: 12.03 MB / 0.9669 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.0001302/0.3243, allocations: 99.25 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.3244, allocations: 28.22 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3244, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.636e-05/0.3245, allocations: 19.94 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.3246, allocations: 9.562 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.325, allocations: 163.2 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3253, allocations: 0.6807 MB / 1.219 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.3253, allocations: 11.44 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of SimCode: time 2.81e-07/0.3253, allocations: 0 / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of Templates: time 0.00241/0.3277, allocations: 0.8353 MB / 1.22 GB, free: 10.13 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (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) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.modTim,time [Calling sys.exit(0), Time elapsed: 10.181347602978349]