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.000803/0.000803, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007974/0.0007974, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8543/0.8543, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.636/1.636, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.845e-05, allocations: 5.234 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00235/0.002379, allocations: 1.878 MB / 0.9536 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.004077, allocations: 1.784 MB / 0.9553 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.004154, allocations: 3.938 kB / 0.9553 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.004373, allocations: 39.58 kB / 0.9554 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.004721, allocations: 123.3 kB / 0.9555 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.00499, allocations: 180.2 kB / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.00524, allocations: 301.2 kB / 0.9559 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.005356, allocations: 33.23 kB / 0.956 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.005479, allocations: 139.8 kB / 0.9561 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.00562, allocations: 99.73 kB / 0.9562 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.00565, allocations: 24 kB / 0.9562 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.005806, allocations: 119.9 kB / 0.9563 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.205e-05/0.005888, allocations: 91.73 kB / 0.9564 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.005959, allocations: 91.73 kB / 0.9565 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.006472, allocations: 398.7 kB / 0.9569 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.006474, allocations: 0 / 0.9569 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006475, allocations: 3.938 kB / 0.9569 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.00648, allocations: 0 / 0.9569 GB, free: 13.68 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006405/0.007121, allocations: 0.523 MB / 0.9574 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.007156, allocations: 8.031 kB / 0.9574 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.007266, allocations: 44.69 kB / 0.9575 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.007494, allocations: 216.8 kB / 0.9577 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.007513, allocations: 16.75 kB / 0.9577 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.007532, allocations: 16.38 kB / 0.9577 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.007852, allocations: 377.1 kB / 0.958 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.007864, allocations: 3.938 kB / 0.9581 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.007884, allocations: 12 kB / 0.9581 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.007891, allocations: 8 kB / 0.9581 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.008408, allocations: 0.6976 MB / 0.9588 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007025/0.009111, allocations: 0.5506 MB / 0.9593 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.009462, allocations: 289.6 kB / 0.9596 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.009566, allocations: 96.81 kB / 0.9597 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.009597, allocations: 15.98 kB / 0.9597 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.009845, allocations: 243.4 kB / 0.9599 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=36): time 1.202e-06/0.009846, allocations: 4 kB / 0.9599 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36): time 0.0004709/0.01032, allocations: 379.6 kB / 0.9603 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.01038, allocations: 136.5 kB / 0.9604 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.01058, allocations: 325.8 kB / 0.9607 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.0106, allocations: 33.7 kB / 0.9607 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.01067, allocations: 141 kB / 0.9609 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.01074, allocations: 122.9 kB / 0.961 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.0108, allocations: 69.69 kB / 0.9611 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.01088, allocations: 350.7 kB / 0.9614 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.393e-05/0.01098, allocations: 87.89 kB / 0.9615 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.01112, allocations: 210.1 kB / 0.9617 GB, free: 8.496 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.01135, allocations: 225 kB / 0.9619 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.01135, allocations: 0 / 0.9619 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002868/0.01164, allocations: 292.9 kB / 0.9622 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.01165, allocations: 4 kB / 0.9622 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01166, allocations: 7.984 kB / 0.9622 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.01167, allocations: 0 / 0.9622 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.0118, allocations: 63.91 kB / 0.9622 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01181, allocations: 4 kB / 0.9623 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.01189, allocations: 27.81 kB / 0.9623 GB, free: 7.875 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.0119, allocations: 8 kB / 0.9623 GB, free: 7.867 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (38): * Single equations (assignments): 38 * 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.0001066/0.01201, allocations: 169.8 kB / 0.9624 GB, free: 7.691 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.01204, allocations: 31.81 kB / 0.9625 GB, free: 7.66 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.01244, allocations: 393 kB / 0.9629 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.01245, allocations: 8.031 kB / 0.9629 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01245, allocations: 0 / 0.9629 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01246, allocations: 3.938 kB / 0.9629 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.01263, allocations: 249 kB / 0.9631 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01263, allocations: 0 / 0.9631 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.786e-05/0.01273, allocations: 55.91 kB / 0.9632 GB, free: 6.926 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01273, allocations: 4 kB / 0.9632 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01275, allocations: 11.98 kB / 0.9632 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01275, allocations: 0 / 0.9632 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01275, allocations: 8 kB / 0.9632 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.01304, allocations: 337.8 kB / 0.9635 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.01328, allocations: 75.62 kB / 0.9636 GB, free: 6.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.01331, allocations: 12 kB / 0.9636 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.01339, allocations: 19.97 kB / 0.9636 GB, free: 6.449 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.01343, allocations: 31.89 kB / 0.9636 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.01344, allocations: 15.98 kB / 0.9636 GB, free: 6.402 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001379/0.01358, allocations: 245.2 kB / 0.9639 GB, free: 6.164 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01358, allocations: 0 / 0.9639 GB, free: 6.164 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002021/0.01378, allocations: 91.75 kB / 0.964 GB, free: 6.074 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007791/0.01456, allocations: 0.4935 MB / 0.9645 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.01484, allocations: 228.3 kB / 0.9647 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01484, allocations: 4 kB / 0.9647 GB, free: 5.539 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.01496, allocations: 123.7 kB / 0.9648 GB, free: 5.418 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.01515, allocations: 44.48 kB / 0.9648 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.01575, allocations: 0.5753 MB / 0.9654 GB, free: 4.758 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.01585, allocations: 155 kB / 0.9655 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.01593, allocations: 56.47 kB / 0.9656 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.01593, allocations: 0 / 0.9656 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of Templates: time 0.004702/0.02063, allocations: 5.035 MB / 0.9705 GB, free: 15.52 MB / 0.9323 GB " [Timeout remaining time 300] 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/jenkins/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: 6.718571052886546]