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.001072/0.001072, allocations: 100.2 kB / 16.35 MB, free: 5.824 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.001118/0.001118, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.198/1.198, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.992/1.992, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 65.98 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2244, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006743/0.2312, allocations: 5.122 MB / 0.9561 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.5636/0.7948, allocations: 150.8 MB / 1.103 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008858/0.7958, allocations: 23.94 kB / 1.103 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007263/0.7966, allocations: 344 kB / 1.104 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.798, allocations: 0.5238 MB / 1.104 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.7998, allocations: 0.8632 MB / 1.105 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.8014, allocations: 1.471 MB / 1.107 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.8026, allocations: 0.8196 MB / 1.107 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008956/0.8035, allocations: 0.5235 MB / 1.108 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007569/0.8043, allocations: 0.5542 MB / 1.108 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.8045, allocations: 131.5 kB / 1.109 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009997/0.8055, allocations: 0.4891 MB / 1.109 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.8058, allocations: 335 kB / 1.109 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005693/0.8064, allocations: 0.6506 MB / 1.11 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.8091, allocations: 1.884 MB / 1.112 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8091, allocations: 0 / 1.112 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8091, allocations: 2.078 kB / 1.112 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.379e-05/0.8092, allocations: 0 / 1.112 GB, free: 4.059 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.002778/0.812, allocations: 1.664 MB / 1.113 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.812, allocations: 8.969 kB / 1.113 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008756/0.8129, allocations: 218 kB / 1.114 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.8142, allocations: 0.9176 MB / 1.115 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.8142, allocations: 74.62 kB / 1.115 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.8144, allocations: 94.52 kB / 1.115 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.8159, allocations: 1.033 MB / 1.116 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.816, allocations: 5.062 kB / 1.116 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.816, allocations: 42.06 kB / 1.116 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.8161, allocations: 23.25 kB / 1.116 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.8179, allocations: 1.174 MB / 1.117 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003719/0.8216, allocations: 2.787 MB / 1.12 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.8228, allocations: 0.7985 MB / 1.12 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.8233, allocations: 294.8 kB / 1.121 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-05/0.8234, allocations: 37.59 kB / 1.121 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000704/0.8241, allocations: 495.1 kB / 1.121 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=78): time 2.134e-06/0.8241, allocations: 4 kB / 1.121 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78): time 0.002731/0.8268, allocations: 1.198 MB / 1.122 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.8269, allocations: 194.8 kB / 1.123 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009242/0.8279, allocations: 0.7953 MB / 1.123 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.828, allocations: 43.7 kB / 1.123 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.8283, allocations: 0.5073 MB / 1.124 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.8284, allocations: 249.8 kB / 1.124 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.8286, allocations: 159.8 kB / 1.124 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.8287, allocations: 335.6 kB / 1.125 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.8292, allocations: 275.3 kB / 1.125 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.8297, allocations: 355.5 kB / 1.125 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009253/0.8306, allocations: 0.6081 MB / 1.126 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8307, allocations: 0 / 1.126 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001705/0.8324, allocations: 0.8625 MB / 1.127 GB, free: 16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.8324, allocations: 5.25 kB / 1.127 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.8324, allocations: 2.688 kB / 1.127 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.833, allocations: 80.25 kB / 1.127 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.8335, allocations: 162.5 kB / 1.127 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.8353, allocations: 1.651 MB / 1.128 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006298/0.836, allocations: 85.09 kB / 1.129 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.8361, allocations: 35.95 kB / 1.129 GB, free: 14.54 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 (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.0003703/0.8364, allocations: 303.9 kB / 1.129 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.8366, allocations: 103.6 kB / 1.129 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.8386, allocations: 1.083 MB / 1.13 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.8386, allocations: 9.75 kB / 1.13 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.8387, allocations: 0 / 1.13 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.8387, allocations: 9.859 kB / 1.13 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009675/0.8396, allocations: 0.9963 MB / 1.131 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8397, allocations: 1.375 kB / 1.131 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.8402, allocations: 146.8 kB / 1.131 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000385/0.8406, allocations: 66.91 kB / 1.131 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.8406, allocations: 24.94 kB / 1.131 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.8422, allocations: 1.671 MB / 1.133 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8422, allocations: 0 / 1.133 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.8439, allocations: 0.9421 MB / 1.134 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/0.8442, allocations: 295 kB / 1.134 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.8444, allocations: 21.42 kB / 1.134 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/0.8449, allocations: 59.45 kB / 1.134 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.845, allocations: 67.67 kB / 1.134 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.54e-05/0.8451, allocations: 36.31 kB / 1.134 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005823/0.8457, allocations: 0.5573 MB / 1.135 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8457, allocations: 4 kB / 1.135 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000801/0.8465, allocations: 338.1 kB / 1.135 GB, free: 12.08 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 (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.001177/0.8477, allocations: 0.6047 MB / 1.136 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.8491, allocations: 0.8291 MB / 1.137 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8491, allocations: 1.188 kB / 1.137 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007932/0.8499, allocations: 0.5103 MB / 1.137 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.8512, allocations: 462.2 kB / 1.137 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.8547, allocations: 2.022 MB / 1.139 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.8553, allocations: 1.1 MB / 1.141 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008735/0.8562, allocations: 278.5 kB / 1.141 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.8565, allocations: 112.7 kB / 1.141 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.8565, allocations: 0 / 1.141 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of Templates: time 0.02692/0.8834, allocations: 16.97 MB / 1.157 GB, free: 4.121 MB / 0.8731 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 -s cvode -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/jenkins1/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