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.00112/0.00112, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.01218/0.01218, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.506/2.506, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005158/0.0005158, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9915/0.992, allocations: 142.4 MB / 0.955 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00498/0.997, allocations: 4.658 MB / 0.9596 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1914/1.189, allocations: 146.9 MB / 1.103 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/1.191, allocations: 23.81 kB / 1.103 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/1.192, allocations: 282.2 kB / 1.103 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002843/1.195, allocations: 444.4 kB / 1.104 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/1.198, allocations: 0.7536 MB / 1.105 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002378/1.2, allocations: 1.364 MB / 1.106 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/1.201, allocations: 0.7858 MB / 1.107 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000884/1.202, allocations: 377.9 kB / 1.107 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006518/1.203, allocations: 433.2 kB / 1.107 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.541e-05/1.203, allocations: 28 kB / 1.107 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/1.204, allocations: 367.6 kB / 1.108 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/1.204, allocations: 214.9 kB / 1.108 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005505/1.205, allocations: 0.5255 MB / 1.108 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002571/1.207, allocations: 1.732 MB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.207, allocations: 0 / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.896e-06/1.207, allocations: 0 / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.375e-05/1.207, allocations: 0 / 1.11 GB, free: 15.89 MB / 0.8731 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.002887/1.21, allocations: 1.398 MB / 1.112 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.21, allocations: 8.031 kB / 1.112 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009729/1.211, allocations: 231 kB / 1.112 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/1.213, allocations: 0.8828 MB / 1.113 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.516e-05/1.213, allocations: 74 kB / 1.113 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/1.213, allocations: 96 kB / 1.113 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/1.215, allocations: 1.039 MB / 1.114 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.215, allocations: 3.938 kB / 1.114 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.215, allocations: 44 kB / 1.114 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/1.215, allocations: 24 kB / 1.114 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/1.217, allocations: 1.171 MB / 1.115 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004931/1.222, allocations: 2.876 MB / 1.118 GB, free: 7.844 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/1.224, allocations: 0.8058 MB / 1.119 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005805/1.224, allocations: 302.7 kB / 1.119 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-05/1.224, allocations: 28.61 kB / 1.119 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009586/1.225, allocations: 0.4913 MB / 1.119 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=78): time 2.906e-06/1.225, allocations: 0 / 1.119 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78): time 0.003185/1.229, allocations: 1.225 MB / 1.121 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/1.229, allocations: 188.6 kB / 1.121 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/1.23, allocations: 0.7951 MB / 1.122 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.087e-05/1.23, allocations: 45.7 kB / 1.122 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/1.23, allocations: 0.5078 MB / 1.122 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/1.231, allocations: 248.5 kB / 1.122 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/1.231, allocations: 69.67 kB / 1.122 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.231, allocations: 337.9 kB / 1.123 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/1.231, allocations: 269.9 kB / 1.123 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/1.232, allocations: 367.1 kB / 1.123 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.233, allocations: 0.611 MB / 1.124 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.233, allocations: 7.938 kB / 1.124 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002016/1.235, allocations: 0.868 MB / 1.125 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.235, allocations: 8 kB / 1.125 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/1.235, allocations: 3.938 kB / 1.125 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/1.236, allocations: 88.8 kB / 1.125 GB, free: 428 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/1.237, allocations: 159.8 kB / 1.125 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/1.239, allocations: 1.537 MB / 1.127 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008247/1.24, allocations: 104.8 kB / 1.127 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/1.24, allocations: 31.97 kB / 1.127 GB, free: 14.45 MB / 0.8887 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.0005993/1.24, allocations: 295.4 kB / 1.127 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/1.24, allocations: 102.7 kB / 1.127 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/1.243, allocations: 1.086 MB / 1.128 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/1.243, allocations: 16 kB / 1.128 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/1.243, allocations: 0 / 1.128 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/1.243, allocations: 3.984 kB / 1.128 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/1.244, allocations: 1.005 MB / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.244, allocations: 0 / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/1.245, allocations: 143.8 kB / 1.129 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005362/1.245, allocations: 92.81 kB / 1.129 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/1.245, allocations: 23.97 kB / 1.129 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/1.247, allocations: 1.559 MB / 1.131 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.247, allocations: 0 / 1.131 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/1.249, allocations: 0.9433 MB / 1.132 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/1.25, allocations: 311.4 kB / 1.132 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/1.25, allocations: 19.98 kB / 1.132 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006413/1.251, allocations: 77.06 kB / 1.132 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/1.251, allocations: 76.83 kB / 1.132 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/1.251, allocations: 31.98 kB / 1.132 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008106/1.252, allocations: 0.5581 MB / 1.133 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/1.252, allocations: 0 / 1.133 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001029/1.253, allocations: 331 kB / 1.133 GB, free: 7.539 MB / 0.8887 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.001511/1.254, allocations: 0.6175 MB / 1.134 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001834/1.256, allocations: 0.8353 MB / 1.135 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.256, allocations: 0 / 1.135 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000923/1.257, allocations: 0.5119 MB / 1.135 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/1.259, allocations: 417.9 kB / 1.135 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/1.264, allocations: 2.599 MB / 1.138 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007399/1.265, allocations: 1.102 MB / 1.139 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00102/1.266, allocations: 279.6 kB / 1.139 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/1.266, allocations: 115.4 kB / 1.139 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of SimCode: time 7.61e-07/1.266, allocations: 0 / 1.139 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of Templates: time 0.03363/1.3, allocations: 16.16 MB / 1.155 GB, free: 1.172 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