Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001633/0.001633, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.767/2.767, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.91 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.6593, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008755/0.6681, allocations: 5.617 MB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.8533, allocations: 150.9 MB / 1.17 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009374/0.8543, allocations: 23.88 kB / 1.17 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000862/0.8552, allocations: 365.3 kB / 1.171 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.8569, allocations: 0.5587 MB / 1.171 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.8589, allocations: 0.8725 MB / 1.172 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.8606, allocations: 1.558 MB / 1.173 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.8618, allocations: 0.7635 MB / 1.174 GB, free: 1.207 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000698/0.8625, allocations: 0.5293 MB / 1.175 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007084/0.8632, allocations: 0.5714 MB / 1.175 GB, free: 104 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.8634, allocations: 132 kB / 1.175 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008443/0.8642, allocations: 475.6 kB / 1.176 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.8646, allocations: 334.8 kB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006467/0.8653, allocations: 0.6605 MB / 1.177 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.8674, allocations: 1.861 MB / 1.179 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8674, allocations: 0 / 1.179 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8674, allocations: 0 / 1.179 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.8674, allocations: 0 / 1.179 GB, free: 12.65 MB / 0.9356 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.002902/0.8703, allocations: 1.678 MB / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.8704, allocations: 12.03 kB / 1.18 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.8714, allocations: 215 kB / 1.18 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.8728, allocations: 0.8944 MB / 1.181 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-05/0.8729, allocations: 74 kB / 1.181 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.873, allocations: 96 kB / 1.181 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.8748, allocations: 1.032 MB / 1.183 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.8749, allocations: 0 / 1.183 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.074e-05/0.875, allocations: 48 kB / 1.183 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.875, allocations: 27.98 kB / 1.183 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.8769, allocations: 1.167 MB / 1.184 GB, free: 7.27 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004586/0.8815, allocations: 3.04 MB / 1.187 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.8831, allocations: 0.7905 MB / 1.187 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/0.8836, allocations: 298.7 kB / 1.188 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.271e-05/0.8837, allocations: 32.59 kB / 1.188 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009695/0.8847, allocations: 498.6 kB / 1.188 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=78): time 2.174e-06/0.8847, allocations: 0 / 1.188 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78): time 0.003217/0.8879, allocations: 1.205 MB / 1.189 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.8881, allocations: 196.6 kB / 1.19 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.8891, allocations: 0.7912 MB / 1.19 GB, free: 204 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.8892, allocations: 41.7 kB / 1.19 GB, free: 156 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/0.8897, allocations: 0.5118 MB / 1.191 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.8899, allocations: 260.2 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.8902, allocations: 154.5 kB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.8903, allocations: 337.9 kB / 1.192 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.8909, allocations: 273.8 kB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.8916, allocations: 363.1 kB / 1.192 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.8927, allocations: 0.5955 MB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8927, allocations: 4 kB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002025/0.8948, allocations: 0.8603 MB / 1.194 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8948, allocations: 8.094 kB / 1.194 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.8948, allocations: 3.984 kB / 1.194 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.8954, allocations: 92.64 kB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.8961, allocations: 151.8 kB / 1.194 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.8984, allocations: 1.644 MB / 1.196 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.8991, allocations: 87.36 kB / 1.196 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.8992, allocations: 39.97 kB / 1.196 GB, free: 10.6 MB / 0.9512 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.0004816/0.8997, allocations: 304.7 kB / 1.196 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.8998, allocations: 98.78 kB / 1.196 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.9024, allocations: 1.086 MB / 1.197 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.9024, allocations: 11.94 kB / 1.197 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.9024, allocations: 3.938 kB / 1.197 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.9024, allocations: 3.984 kB / 1.197 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.9036, allocations: 1.006 MB / 1.198 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.9036, allocations: 0 / 1.198 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.9042, allocations: 143.8 kB / 1.198 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/0.9047, allocations: 72.8 kB / 1.198 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.9047, allocations: 27.97 kB / 1.198 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.9068, allocations: 1.67 MB / 1.2 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9068, allocations: 0 / 1.2 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.9089, allocations: 0.9433 MB / 1.201 GB, free: 5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.9093, allocations: 291.5 kB / 1.201 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.9094, allocations: 19.91 kB / 1.201 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/0.91, allocations: 61.88 kB / 1.201 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.9102, allocations: 76.83 kB / 1.201 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/0.9102, allocations: 35.98 kB / 1.201 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008107/0.9111, allocations: 0.5542 MB / 1.202 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9111, allocations: 3.938 kB / 1.202 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008966/0.912, allocations: 347 kB / 1.202 GB, free: 3.598 MB / 0.9512 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.001908/0.9139, allocations: 0.6007 MB / 1.203 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.9164, allocations: 1.023 MB / 1.204 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9164, allocations: 0 / 1.204 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009859/0.9174, allocations: 0.5199 MB / 1.204 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.9193, allocations: 469.6 kB / 1.205 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.9229, allocations: 1.94 MB / 1.207 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000782/0.9237, allocations: 1.094 MB / 1.208 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009786/0.9247, allocations: 291.6 kB / 1.208 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.925, allocations: 115.4 kB / 1.208 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of SimCode: time 1.182e-06/0.925, allocations: 0 / 1.208 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of Templates: time 0.03295/0.958, allocations: 17.38 MB / 1.225 GB, free: 12.48 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches