Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 198.4 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 71.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.812/0.8133, allocations: 140.3 MB / 0.9489 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004352/0.8177, allocations: 1.935 MB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.8205, allocations: 1.547 MB / 0.9523 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.8207, allocations: 5.812 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.821, allocations: 19.14 kB / 0.9523 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.8216, allocations: 76.02 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009826/0.8226, allocations: 148.6 kB / 0.9526 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006566/0.8232, allocations: 257 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.8235, allocations: 32.67 kB / 0.9528 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.8237, allocations: 89 kB / 0.9529 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.8241, allocations: 100.8 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.852e-05/0.8242, allocations: 11.69 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.8246, allocations: 69.92 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.8248, allocations: 78.58 kB / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.825, allocations: 120.2 kB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.8255, allocations: 307.3 kB / 0.9536 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.8255, allocations: 1.344 kB / 0.9536 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8255, allocations: 7.938 kB / 0.9536 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.8255, allocations: 0 / 0.9536 GB, free: 5.734 MB / 0.7169 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.0009477/0.8265, allocations: 0.5538 MB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.598e-05/0.8266, allocations: 9.188 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.8269, allocations: 37.27 kB / 0.9542 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.8273, allocations: 278.6 kB / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/0.8274, allocations: 11.41 kB / 0.9544 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.8274, allocations: 23.22 kB / 0.9545 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.828, allocations: 241.2 kB / 0.9547 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.828, allocations: 0 / 0.9547 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.8281, allocations: 10.5 kB / 0.9547 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.8281, allocations: 4.188 kB / 0.9547 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.8293, allocations: 0.7445 MB / 0.9554 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.8304, allocations: 0.6316 MB / 0.9561 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.8309, allocations: 304.5 kB / 0.9563 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.8311, allocations: 114.2 kB / 0.9565 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.213e-05/0.8312, allocations: 29.7 kB / 0.9565 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/0.8316, allocations: 175.2 kB / 0.9567 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.8316, allocations: 0 / 0.9567 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0007364/0.8324, allocations: 380 kB / 0.957 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.8324, allocations: 144.5 kB / 0.9572 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.8328, allocations: 305.2 kB / 0.9574 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.8328, allocations: 35.95 kB / 0.9575 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.8329, allocations: 139.6 kB / 0.9576 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.833, allocations: 121.3 kB / 0.9577 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/0.8331, allocations: 65.34 kB / 0.9578 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.8331, allocations: 338 kB / 0.9581 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.8333, allocations: 81.11 kB / 0.9582 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.8335, allocations: 129.5 kB / 0.9583 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.8339, allocations: 207.5 kB / 0.9585 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8339, allocations: 5.125 kB / 0.9585 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004511/0.8343, allocations: 285.3 kB / 0.9588 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.8344, allocations: 6 kB / 0.9588 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.8344, allocations: 3.938 kB / 0.9588 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.8344, allocations: 1.938 kB / 0.9588 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.8346, allocations: 64.28 kB / 0.9589 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.8347, allocations: 1.219 kB / 0.9589 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.8348, allocations: 28.67 kB / 0.9589 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.8349, allocations: 16.88 kB / 0.9589 GB, free: 1.914 MB / 0.7169 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.0001561/0.835, allocations: 166.4 kB / 0.9591 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.8351, allocations: 28.3 kB / 0.9591 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007598/0.8359, allocations: 385.7 kB / 0.9595 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.8359, allocations: 3.938 kB / 0.9595 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8359, allocations: 1.125 kB / 0.9595 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.8359, allocations: 0 / 0.9595 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.8363, allocations: 345.1 kB / 0.9598 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8363, allocations: 4 kB / 0.9598 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.8365, allocations: 57.91 kB / 0.9598 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.8365, allocations: 2.469 kB / 0.9599 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.8365, allocations: 11.47 kB / 0.9599 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.8365, allocations: 1.5 kB / 0.9599 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.8366, allocations: 1.312 kB / 0.9599 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.837, allocations: 331.4 kB / 0.9602 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.8372, allocations: 139.3 kB / 0.9603 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.8372, allocations: 18.41 kB / 0.9603 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.8374, allocations: 23.34 kB / 0.9604 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.8375, allocations: 24.72 kB / 0.9604 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.8375, allocations: 17.52 kB / 0.9604 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000198/0.8377, allocations: 238.8 kB / 0.9606 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8377, allocations: 0 / 0.9606 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003246/0.838, allocations: 72.44 kB / 0.9607 GB, free: 0.6523 MB / 0.7169 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.001001/0.839, allocations: 417.1 kB / 0.9611 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000472/0.8395, allocations: 226 kB / 0.9613 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8395, allocations: 1.281 kB / 0.9613 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.8397, allocations: 138.5 kB / 0.9614 GB, free: 308 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.8401, allocations: 38.42 kB / 0.9615 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.8411, allocations: 0.6123 MB / 0.9621 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.8415, allocations: 0.7619 MB / 0.9628 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003603/0.8419, allocations: 144.6 kB / 0.963 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.842, allocations: 41.17 kB / 0.963 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.842, allocations: 0 / 0.963 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.008108/0.8501, allocations: 3.287 MB / 0.9662 GB, free: 13.42 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches