Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001543/0.001543, 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.001593/0.001593, allocations: 193.2 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.459/1.459, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.53 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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 68.08 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3133, allocations: 160.7 MB / 1.214 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002986/0.3163, allocations: 1.456 MB / 1.216 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004997/0.3168, allocations: 199.3 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.3168, allocations: 0 / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.3169, allocations: 3.984 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.3171, allocations: 15.86 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.3173, allocations: 63.72 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3174, allocations: 63.84 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.761e-05/0.3175, allocations: 3.984 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.551e-05/0.3175, allocations: 27.92 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.3176, allocations: 19.92 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.3177, allocations: 4 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.278e-05/0.3177, allocations: 4 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.3177, allocations: 15.97 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.3178, allocations: 19.92 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.3179, allocations: 51.8 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3179, allocations: 0 / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3179, allocations: 7.938 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3179, allocations: 0 / 1.216 GB, free: 14.96 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.0005851/0.3185, allocations: 351.3 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3185, allocations: 12.03 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.3185, allocations: 8.906 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3187, allocations: 176.2 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3187, allocations: 384 / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3187, allocations: 8.375 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3189, allocations: 72.81 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3189, allocations: 192 / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3189, allocations: 7.938 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3189, allocations: 0 / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.885e-05/0.319, allocations: 15.98 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.3194, allocations: 276.8 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.3195, allocations: 42.56 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.3195, allocations: 8.859 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.3195, allocations: 4 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.3197, allocations: 64.16 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3197, allocations: 4 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000224/0.3199, allocations: 69.67 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.32, allocations: 102.8 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.3201, allocations: 109.8 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3201, allocations: 29.7 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.3202, allocations: 88.09 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3202, allocations: 11.94 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.3203, allocations: 17.72 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3204, allocations: 322.8 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.549e-05/0.3205, allocations: 8.25 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.636e-05/0.3205, allocations: 46.5 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.422e-05/0.3206, allocations: 24.86 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3206, allocations: 0 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001119/0.3207, allocations: 61.64 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3207, allocations: 8 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3207, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3207, allocations: 3.938 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.3208, allocations: 4 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3208, allocations: 3.938 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.3209, allocations: 21.83 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.3209, allocations: 0 / 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.0001061/0.321, allocations: 121.8 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.3211, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.3211, allocations: 7.5 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3211, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3211, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3211, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.3212, allocations: 173.6 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3212, allocations: 7.938 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.3213, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3213, allocations: 192 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3213, allocations: 0 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3213, allocations: 4.188 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3213, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.3214, allocations: 100.9 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.671e-05/0.3215, allocations: 89.09 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3215, allocations: 4 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3216, allocations: 7.984 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.3217, allocations: 4 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3217, allocations: 0 / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.877e-05/0.3217, allocations: 91.27 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3217, allocations: 0 / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001928/0.3219, allocations: 8 kB / 1.218 GB, free: 12.04 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.0001284/0.3221, allocations: 103.2 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.3222, allocations: 35.98 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3222, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.271e-05/0.3222, allocations: 11.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.0001613/0.3224, allocations: 15.86 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.3228, allocations: 159.1 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.3232, 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 2.96e-05/0.3232, allocations: 7.438 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.3232, allocations: 4 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of Templates: time 0.002347/0.3256, allocations: 0.8344 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.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.182773808017373]