Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 81.31 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002475/0.002475, allocations: 159.2 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.657/2.657, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 73.75 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3116, allocations: 169.9 MB / 1.117 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002604/0.3142, allocations: 1.475 MB / 1.119 GB, free: 1.027 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004334/0.3147, allocations: 187.4 kB / 1.119 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.3147, allocations: 0 / 1.119 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.3147, allocations: 0 / 1.119 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.3149, allocations: 23.78 kB / 1.119 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.3151, allocations: 62.11 kB / 1.119 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.8e-05/0.3152, allocations: 59.84 kB / 1.119 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.89e-05/0.3153, allocations: 4 kB / 1.119 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.3153, allocations: 23.92 kB / 1.119 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.3154, allocations: 19.91 kB / 1.119 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3154, allocations: 4 kB / 1.119 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.571e-05/0.3154, allocations: 4 kB / 1.119 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.3155, allocations: 11.98 kB / 1.119 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.3155, allocations: 23.92 kB / 1.119 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.801e-05/0.3156, allocations: 43.86 kB / 1.119 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3156, allocations: 0 / 1.119 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3156, allocations: 0 / 1.119 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.3156, allocations: 4 kB / 1.119 GB, free: 0.5664 MB / 1.061 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.0004973/0.3161, allocations: 278.2 kB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.3162, allocations: 8.031 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.3162, allocations: 12.83 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.3163, allocations: 114.5 kB / 1.12 GB, free: 108 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3163, allocations: 8.359 kB / 1.12 GB, free: 100 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.3163, allocations: 4.375 kB / 1.12 GB, free: 96 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.3166, allocations: 124.2 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3166, allocations: 192 / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3166, allocations: 3.938 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3166, allocations: 4 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.3166, allocations: 19.98 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.3169, allocations: 212.5 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.74e-05/0.317, allocations: 42.5 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.3171, allocations: 12.86 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.3171, allocations: 4 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.3172, allocations: 67.42 kB / 1.12 GB, free: 15.53 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3172, allocations: 0 / 1.12 GB, free: 15.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002004/0.3174, allocations: 73.61 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.3175, allocations: 110.8 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.3176, allocations: 101.8 kB / 1.12 GB, free: 15.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3176, allocations: 29.7 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.3177, allocations: 88.09 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.3177, allocations: 11.89 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.3177, allocations: 21.7 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3179, allocations: 314.8 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.3179, allocations: 12 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.407e-05/0.318, allocations: 90.28 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.626e-05/0.318, allocations: 28.86 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.318, allocations: 7.969 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000104/0.3181, allocations: 57.69 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3182, allocations: 4 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3182, allocations: 4 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3182, allocations: 0 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.3182, allocations: 4 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3183, allocations: 7.922 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3184, allocations: 22.75 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3184, allocations: 0 / 1.121 GB, free: 14.47 MB / 1.076 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 9.075e-05/0.3185, allocations: 113.8 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.3185, allocations: 7.984 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.3185, allocations: 11.69 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3185, allocations: 0 / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3185, allocations: 0 / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.3185, allocations: 0 / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.3186, allocations: 117.2 kB / 1.121 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3186, allocations: 0 / 1.121 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.3187, allocations: 4 kB / 1.121 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3187, allocations: 0 / 1.121 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3187, allocations: 0 / 1.121 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3187, allocations: 0 / 1.121 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3187, allocations: 4 kB / 1.121 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.3188, allocations: 105.1 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.3189, allocations: 15.92 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.3189, allocations: 0 / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.319, allocations: 16.05 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.319, allocations: 0 / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.319, allocations: 7.984 kB / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.104e-05/0.3191, allocations: 83.28 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3191, allocations: 0 / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002024/0.3193, allocations: 12 kB / 1.122 GB, free: 13.92 MB / 1.076 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.0001022/0.3194, allocations: 103.2 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.3195, allocations: 27.98 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3195, allocations: 0 / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.3196, allocations: 23.92 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.3197, allocations: 6.188 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.32, allocations: 125.4 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.872e-05/0.3201, allocations: 63.34 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.886e-05/0.3201, allocations: 11.98 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.3201, allocations: 12.5 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.3201, allocations: 0 / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of Templates: time 0.003402/0.3235, allocations: 0.9307 MB / 1.123 GB, free: 12.62 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.261320339981467]