Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001595/0.001595, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001764/0.001764, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.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.786/2.786, allocations: 476.7 MB / 0.7714 GB, free: 4.312 MB / 0.6231 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.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [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.002008/0.002008, allocations: 69.95 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 170 MB / 1.285 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003536/0.3289, allocations: 1.931 MB / 1.287 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.3318, allocations: 1.854 MB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.3318, allocations: 0 / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.3321, allocations: 35.72 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.3325, allocations: 115.4 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.333, allocations: 181.8 kB / 1.289 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.3334, allocations: 289.3 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3335, allocations: 25.3 kB / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.3337, allocations: 107.7 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.334, allocations: 111.6 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.334, allocations: 20 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.3343, allocations: 139.9 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3344, allocations: 95.73 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.3345, allocations: 119.3 kB / 1.29 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.335, allocations: 378.5 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.335, allocations: 0 / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.335, allocations: 0 / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.335, allocations: 0 / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008941/0.3359, allocations: 0.5208 MB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.336, allocations: 8.031 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.3361, allocations: 40.73 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.3365, allocations: 229 kB / 1.291 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3365, allocations: 12.38 kB / 1.291 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.3365, allocations: 24.12 kB / 1.291 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.3369, allocations: 236.9 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3369, allocations: 0 / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.337, allocations: 8 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.337, allocations: 8 kB / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/0.3379, allocations: 0.749 MB / 1.292 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.339, allocations: 0.6128 MB / 1.292 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.3395, allocations: 283 kB / 1.293 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.3397, allocations: 105.4 kB / 1.293 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.3398, allocations: 20.25 kB / 1.293 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003937/0.3401, allocations: 187.4 kB / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.3401, allocations: 0 / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.000734/0.3409, allocations: 376.1 kB / 1.293 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/0.341, allocations: 136.5 kB / 1.293 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.3413, allocations: 321.1 kB / 1.294 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.3414, allocations: 33.7 kB / 1.294 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3415, allocations: 140.7 kB / 1.294 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.3416, allocations: 123 kB / 1.294 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3417, allocations: 65.67 kB / 1.294 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3419, allocations: 338.8 kB / 1.294 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.342, allocations: 83.81 kB / 1.294 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.3422, allocations: 135.5 kB / 1.294 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.3426, allocations: 212.6 kB / 1.295 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3426, allocations: 0 / 1.295 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004807/0.3431, allocations: 289.7 kB / 1.295 GB, free: 472 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3431, allocations: 4 kB / 1.295 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3431, allocations: 3.938 kB / 1.295 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3431, allocations: 3.938 kB / 1.295 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.3433, allocations: 67.91 kB / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3433, allocations: 0 / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3435, allocations: 23.88 kB / 1.295 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.3435, allocations: 11.98 kB / 1.295 GB, free: 356 kB / 0.9825 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 (36): * Single equations (assignments): 36 * 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.0001701/0.3437, allocations: 165.8 kB / 1.295 GB, free: 180 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.3438, allocations: 31.81 kB / 1.295 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007293/0.3445, allocations: 388.6 kB / 1.296 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3445, allocations: 4 kB / 1.296 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3445, allocations: 0 / 1.296 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3445, allocations: 3.984 kB / 1.296 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.3449, allocations: 328.3 kB / 1.296 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3449, allocations: 4 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.3451, allocations: 55.91 kB / 1.296 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.3451, allocations: 4 kB / 1.296 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.3451, allocations: 15.94 kB / 1.296 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3451, allocations: 4 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3451, allocations: 3.984 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.3456, allocations: 330.5 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.3458, allocations: 67.73 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.3458, allocations: 7.938 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.346, allocations: 26.92 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.3461, allocations: 31.95 kB / 1.296 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.3461, allocations: 11.98 kB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002564/0.3464, allocations: 252.4 kB / 1.297 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3464, allocations: 0 / 1.297 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003512/0.3467, allocations: 79.83 kB / 1.297 GB, free: 14.49 MB / 0.9981 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 (35): * Single equations (assignments): 34 * 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.001624/0.3484, allocations: 474.2 kB / 1.297 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.3488, allocations: 219.6 kB / 1.297 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3488, allocations: 4 kB / 1.297 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.349, allocations: 123.7 kB / 1.298 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.3493, allocations: 40.36 kB / 1.298 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3503, allocations: 0.579 MB / 1.298 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.3508, allocations: 0.7658 MB / 1.299 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.3509, allocations: 51.41 kB / 1.299 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3509, allocations: 4 kB / 1.299 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of Templates: time 0.008468/0.3594, allocations: 4.893 MB / 1.304 GB, free: 7.469 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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: 11.99104617201374]