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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008168/0.0008167, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009884/0.0009885, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005873/0.0005876, allocations: 11.98 kB / 0.8153 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8544, allocations: 142.4 MB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005904/0.8604, allocations: 4.406 MB / 0.9587 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1873/1.048, allocations: 137 MB / 1.093 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/1.049, allocations: 23.88 kB / 1.093 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/1.05, allocations: 262.1 kB / 1.093 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002276/1.053, allocations: 433.5 kB / 1.093 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002587/1.055, allocations: 0.6486 MB / 1.094 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002885/1.058, allocations: 1.262 MB / 1.095 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/1.06, allocations: 0.5903 MB / 1.096 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009981/1.061, allocations: 358.2 kB / 1.096 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008383/1.062, allocations: 409.6 kB / 1.096 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000257/1.062, allocations: 28 kB / 1.096 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/1.063, allocations: 335.6 kB / 1.097 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003663/1.064, allocations: 206.9 kB / 1.097 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000477/1.064, allocations: 233 kB / 1.097 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/1.066, allocations: 1.368 MB / 1.099 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/1.066, allocations: 0 / 1.099 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.354e-06/1.066, allocations: 3.938 kB / 1.099 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.992e-05/1.066, allocations: 0 / 1.099 GB, free: 11.54 MB / 0.8575 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.003334/1.07, allocations: 1.418 MB / 1.1 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.07, allocations: 8.031 kB / 1.1 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/1.071, allocations: 234 kB / 1.1 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/1.073, allocations: 0.8477 MB / 1.101 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/1.073, allocations: 77.98 kB / 1.101 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/1.073, allocations: 96 kB / 1.101 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/1.076, allocations: 1.032 MB / 1.102 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/1.076, allocations: 0 / 1.102 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/1.076, allocations: 44 kB / 1.102 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/1.076, allocations: 24 kB / 1.102 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/1.079, allocations: 1.171 MB / 1.103 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005728/1.084, allocations: 2.856 MB / 1.106 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/1.086, allocations: 0.7956 MB / 1.107 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005903/1.087, allocations: 310.6 kB / 1.107 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/1.087, allocations: 24.61 kB / 1.107 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/1.088, allocations: 495.1 kB / 1.108 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=78): time 3.346e-06/1.088, allocations: 4 kB / 1.108 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=78): time 0.003279/1.091, allocations: 1.221 MB / 1.109 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/1.091, allocations: 188.6 kB / 1.109 GB, free: 428 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/1.093, allocations: 0.7835 MB / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/1.093, allocations: 45.64 kB / 1.11 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/1.093, allocations: 0.504 MB / 1.11 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/1.093, allocations: 256.3 kB / 1.111 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/1.094, allocations: 20 kB / 1.111 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.094, allocations: 337.9 kB / 1.111 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/1.094, allocations: 265.9 kB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006655/1.095, allocations: 363.1 kB / 1.112 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/1.096, allocations: 302.9 kB / 1.112 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.096, allocations: 4 kB / 1.112 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002054/1.098, allocations: 0.868 MB / 1.113 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.098, allocations: 5.562 kB / 1.113 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.098, allocations: 4 kB / 1.113 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/1.098, allocations: 80.88 kB / 1.113 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/1.099, allocations: 163.8 kB / 1.113 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/1.101, allocations: 1.543 MB / 1.114 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/1.102, allocations: 95.45 kB / 1.115 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.652e-05/1.102, allocations: 39.97 kB / 1.115 GB, free: 10.57 MB / 0.8731 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006158/1.103, allocations: 291.4 kB / 1.115 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/1.103, allocations: 102.8 kB / 1.115 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/1.105, allocations: 1.094 MB / 1.116 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/1.105, allocations: 12 kB / 1.116 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.105, allocations: 0 / 1.116 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/1.105, allocations: 3.984 kB / 1.116 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/1.107, allocations: 1.001 MB / 1.117 GB, free: 8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.107, allocations: 4 kB / 1.117 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/1.107, allocations: 143.8 kB / 1.117 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/1.108, allocations: 88.73 kB / 1.117 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/1.108, allocations: 27.97 kB / 1.117 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/1.11, allocations: 1.548 MB / 1.119 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.11, allocations: 8.094 kB / 1.119 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/1.112, allocations: 0.9471 MB / 1.12 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/1.112, allocations: 307.5 kB / 1.12 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/1.112, allocations: 23.98 kB / 1.12 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/1.113, allocations: 80.53 kB / 1.12 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.113, allocations: 72.89 kB / 1.12 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/1.113, allocations: 27.98 kB / 1.12 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009151/1.114, allocations: 0.5542 MB / 1.121 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.114, allocations: 0 / 1.121 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001177/1.115, allocations: 331.1 kB / 1.121 GB, free: 3.664 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001558/1.117, allocations: 0.5979 MB / 1.122 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001845/1.119, allocations: 0.8274 MB / 1.122 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/1.119, allocations: 0 / 1.122 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009737/1.12, allocations: 0.512 MB / 1.123 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/1.121, allocations: 409.8 kB / 1.123 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005103/1.127, allocations: 2.513 MB / 1.126 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/1.128, allocations: 1.098 MB / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001277/1.129, allocations: 283.5 kB / 1.127 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/1.129, allocations: 111.4 kB / 1.127 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of SimCode: time 2.384e-06/1.129, allocations: 0 / 1.127 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of Templates: time 0.03293/1.162, allocations: 15.7 MB / 1.143 GB, free: 13.87 MB / 0.9044 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