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.0016/0.0016, allocations: 107 kB / 17.07 MB, free: 6.012 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.001601/0.001601, allocations: 193.2 kB / 20.03 MB, free: 3.078 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.426/1.426, allocations: 222.9 MB / 245.7 MB, free: 4.238 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.646/2.646, allocations: 437.1 MB / 0.7177 GB, free: 4.555 MB / 0.5606 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.001983/0.001983, allocations: 63.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3211, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002692/0.3239, allocations: 1.464 MB / 1.177 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004485/0.3243, allocations: 187.4 kB / 1.177 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.3244, allocations: 4 kB / 1.177 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.3244, allocations: 7.922 kB / 1.177 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.3246, allocations: 15.86 kB / 1.177 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.3248, allocations: 55.91 kB / 1.178 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.325, allocations: 55.84 kB / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.3251, allocations: 11.94 kB / 1.178 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.3251, allocations: 23.92 kB / 1.178 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.125e-05/0.3252, allocations: 27.91 kB / 1.178 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.3253, allocations: 4 kB / 1.178 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.678e-05/0.3253, allocations: 4 kB / 1.178 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.3253, allocations: 11.98 kB / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.3254, allocations: 23.8 kB / 1.178 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.3255, allocations: 51.86 kB / 1.178 GB, free: 3.941 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3255, allocations: 0 / 1.178 GB, free: 3.941 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3255, allocations: 0 / 1.178 GB, free: 3.941 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.3255, allocations: 0 / 1.178 GB, free: 3.941 MB / 0.92 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.0006091/0.3261, allocations: 351.3 kB / 1.178 GB, free: 3.547 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3262, allocations: 12.03 kB / 1.178 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.3262, allocations: 0.9375 kB / 1.178 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.3264, allocations: 184.2 kB / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3264, allocations: 384 / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.3264, allocations: 4.375 kB / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3266, allocations: 76.75 kB / 1.178 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3266, allocations: 192 / 1.178 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.3266, allocations: 11.94 kB / 1.178 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3267, allocations: 0 / 1.178 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.3267, allocations: 15.98 kB / 1.178 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.3271, allocations: 272.9 kB / 1.179 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3273, allocations: 42.48 kB / 1.179 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.3273, allocations: 20.86 kB / 1.179 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.3273, allocations: 0 / 1.179 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.3275, allocations: 67.47 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3275, allocations: 0 / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002196/0.3277, allocations: 73.61 kB / 1.179 GB, free: 2.648 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/0.3278, allocations: 106.8 kB / 1.179 GB, free: 2.52 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.3279, allocations: 105.8 kB / 1.179 GB, free: 2.406 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.328, allocations: 33.7 kB / 1.179 GB, free: 2.367 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.328, allocations: 84.09 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.3281, allocations: 15.88 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.3281, allocations: 17.72 kB / 1.179 GB, free: 2.242 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3282, allocations: 322.8 kB / 1.179 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.3283, allocations: 12 kB / 1.18 GB, free: 1.906 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.341e-05/0.3283, allocations: 30.56 kB / 1.18 GB, free: 1.867 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.075e-05/0.3284, allocations: 28.89 kB / 1.18 GB, free: 1.836 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3284, allocations: 0 / 1.18 GB, free: 1.836 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001143/0.3285, allocations: 69.95 kB / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3286, allocations: 4 kB / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3286, allocations: 0 / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3286, allocations: 0 / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.3287, allocations: 12.06 kB / 1.18 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3287, allocations: 0 / 1.18 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.3288, allocations: 12.86 kB / 1.18 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.3288, allocations: 8 kB / 1.18 GB, free: 1.727 MB / 0.92 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.0001017/0.3289, allocations: 117.8 kB / 1.18 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.3289, allocations: 4 kB / 1.18 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.329, allocations: 3.5 kB / 1.18 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.329, allocations: 0 / 1.18 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.329, allocations: 4 kB / 1.18 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.329, allocations: 0 / 1.18 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3292, allocations: 173.6 kB / 1.18 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3292, allocations: 3.938 kB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.3292, allocations: 8 kB / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3292, allocations: 0 / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3292, allocations: 0 / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3292, allocations: 3.938 kB / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3292, allocations: 0 / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.3294, allocations: 97 kB / 1.18 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.3295, allocations: 85.09 kB / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.3295, allocations: 4 kB / 1.18 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3296, allocations: 11.98 kB / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.3297, allocations: 0 / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.3297, allocations: 4 kB / 1.18 GB, free: 1.117 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.3297, allocations: 87.27 kB / 1.18 GB, free: 1.031 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.394e-06/0.3297, allocations: 0 / 1.18 GB, free: 1.031 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001948/0.3299, allocations: 15.94 kB / 1.18 GB, free: 1.016 MB / 0.92 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.0001488/0.3301, allocations: 103.2 kB / 1.18 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.3302, allocations: 32.16 kB / 1.18 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3302, allocations: 8 kB / 1.18 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.3303, allocations: 12 kB / 1.18 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.3304, allocations: 8.031 kB / 1.18 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.3308, allocations: 152.8 kB / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.3311, allocations: 0.6807 MB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.3312, allocations: 11.44 kB / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3312, allocations: 0 / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of Templates: time 0.002634/0.3338, allocations: 0.8431 MB / 1.182 GB, free: 15.11 MB / 0.9356 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.068685261998326]