Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007172/0.007172, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001623/0.001623, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.177/2.177, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9048/0.9061, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006552/0.9127, allocations: 5.119 MB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1952/1.108, allocations: 150.8 MB / 1.24 GB, free: 132 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/1.109, allocations: 23.5 kB / 1.24 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009865/1.11, allocations: 353.6 kB / 1.241 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002219/1.113, allocations: 0.5202 MB / 1.241 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/1.116, allocations: 0.8631 MB / 1.242 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002651/1.119, allocations: 1.481 MB / 1.243 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/1.12, allocations: 0.818 MB / 1.244 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009974/1.121, allocations: 0.5289 MB / 1.245 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006701/1.122, allocations: 0.5642 MB / 1.245 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/1.122, allocations: 134.2 kB / 1.245 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/1.123, allocations: 499.6 kB / 1.246 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002864/1.123, allocations: 330.8 kB / 1.246 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005063/1.124, allocations: 0.6488 MB / 1.247 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/1.126, allocations: 1.902 MB / 1.249 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.126, allocations: 0 / 1.249 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/1.126, allocations: 0 / 1.249 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.763e-05/1.126, allocations: 0 / 1.249 GB, free: 9.109 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002762/1.129, allocations: 1.711 MB / 1.25 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.129, allocations: 12.03 kB / 1.25 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000947/1.13, allocations: 223.8 kB / 1.251 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/1.131, allocations: 0.9148 MB / 1.251 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/1.131, allocations: 70 kB / 1.251 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/1.131, allocations: 103.9 kB / 1.252 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/1.133, allocations: 1.035 MB / 1.253 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/1.133, allocations: 0 / 1.253 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.421e-05/1.133, allocations: 40 kB / 1.253 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/1.133, allocations: 24 kB / 1.253 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/1.135, allocations: 1.163 MB / 1.254 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/1.139, allocations: 2.809 MB / 1.257 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/1.14, allocations: 0.7966 MB / 1.257 GB, free: 16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/1.141, allocations: 302.6 kB / 1.258 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.487e-05/1.141, allocations: 24.61 kB / 1.258 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007811/1.142, allocations: 496.7 kB / 1.258 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 2.074e-06/1.142, allocations: 0 / 1.258 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.002901/1.144, allocations: 1.217 MB / 1.259 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/1.145, allocations: 188.6 kB / 1.259 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/1.145, allocations: 0.7951 MB / 1.26 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/1.146, allocations: 45.64 kB / 1.26 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/1.146, allocations: 0.5165 MB / 1.261 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/1.146, allocations: 261.7 kB / 1.261 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/1.146, allocations: 170.5 kB / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.146, allocations: 341.9 kB / 1.262 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/1.147, allocations: 261.9 kB / 1.262 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/1.147, allocations: 359.1 kB / 1.262 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/1.149, allocations: 0.6033 MB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.149, allocations: 0 / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001857/1.15, allocations: 0.8686 MB / 1.264 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.15, allocations: 8 kB / 1.264 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.15, allocations: 8.078 kB / 1.264 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005519/1.151, allocations: 72.78 kB / 1.264 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/1.152, allocations: 163.7 kB / 1.264 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/1.154, allocations: 1.646 MB / 1.265 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/1.154, allocations: 91.58 kB / 1.265 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/1.155, allocations: 35.97 kB / 1.266 GB, free: 7.25 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004085/1.155, allocations: 299.4 kB / 1.266 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/1.155, allocations: 107.3 kB / 1.266 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/1.157, allocations: 1.07 MB / 1.267 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.157, allocations: 16 kB / 1.267 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.157, allocations: 3.938 kB / 1.267 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/1.157, allocations: 3.984 kB / 1.267 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/1.158, allocations: 1.001 MB / 1.268 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.158, allocations: 48 / 1.268 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/1.159, allocations: 143.8 kB / 1.268 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004119/1.159, allocations: 72.78 kB / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/1.159, allocations: 23.98 kB / 1.268 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/1.161, allocations: 1.677 MB / 1.27 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.161, allocations: 0 / 1.27 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/1.163, allocations: 0.9516 MB / 1.271 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/1.163, allocations: 288.1 kB / 1.271 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.163, allocations: 24 kB / 1.271 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/1.164, allocations: 67.86 kB / 1.271 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.164, allocations: 68.91 kB / 1.271 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/1.164, allocations: 35.92 kB / 1.271 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000636/1.165, allocations: 0.5581 MB / 1.272 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.165, allocations: 0 / 1.272 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007739/1.166, allocations: 339 kB / 1.272 GB, free: 264 kB / 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001568/1.167, allocations: 0.6017 MB / 1.273 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001691/1.169, allocations: 0.8233 MB / 1.273 GB, free: 14.99 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.169, allocations: 4 kB / 1.273 GB, free: 14.99 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008751/1.17, allocations: 0.5199 MB / 1.274 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/1.171, allocations: 457.5 kB / 1.274 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/1.175, allocations: 2.056 MB / 1.276 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/1.176, allocations: 1.094 MB / 1.278 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007764/1.177, allocations: 287.6 kB / 1.278 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/1.177, allocations: 115.3 kB / 1.278 GB, free: 10.44 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/1.177, allocations: 0 / 1.278 GB, free: 10.44 MB / 1.014 GB Notification: Performance of Templates: time 0.032/1.209, allocations: 17.13 MB / 1.295 GB, free: 9.469 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches