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.005854/0.005854, allocations: 101.7 kB / 15.88 MB, free: 6.324 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.001302/0.001302, allocations: 194 kB / 16.79 MB, free: 6.254 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.426 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.421/2.421, allocations: 390.2 MB / 0.6649 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 75.83 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.722/0.7236, allocations: 140.3 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006064/0.7297, allocations: 5.111 MB / 0.9546 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1683/0.898, allocations: 148.5 MB / 1.1 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.8994, allocations: 27.81 kB / 1.1 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.9007, allocations: 290.1 kB / 1.1 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.9032, allocations: 441.4 kB / 1.1 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.9057, allocations: 0.7506 MB / 1.101 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002195/0.9079, allocations: 1.367 MB / 1.102 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.9095, allocations: 0.7974 MB / 1.103 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008595/0.9104, allocations: 462 kB / 1.104 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008148/0.9112, allocations: 0.5168 MB / 1.104 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003171/0.9116, allocations: 64 kB / 1.104 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.9127, allocations: 407.6 kB / 1.105 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004082/0.9131, allocations: 270.8 kB / 1.105 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007615/0.9139, allocations: 0.5746 MB / 1.105 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.9156, allocations: 1.407 MB / 1.107 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.9156, allocations: 0 / 1.107 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.947e-06/0.9156, allocations: 0 / 1.107 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.83e-05/0.9157, allocations: 3.938 kB / 1.107 GB, free: 0.5508 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.003528/0.9192, allocations: 1.663 MB / 1.108 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.9193, allocations: 19.91 kB / 1.108 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.9204, allocations: 211 kB / 1.109 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.9219, allocations: 0.8945 MB / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.922, allocations: 77.92 kB / 1.11 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.9221, allocations: 96 kB / 1.11 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.9241, allocations: 1.032 MB / 1.111 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.9242, allocations: 0 / 1.111 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.9243, allocations: 44 kB / 1.111 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.9243, allocations: 24 kB / 1.111 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.9263, allocations: 1.171 MB / 1.112 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005034/0.9314, allocations: 2.824 MB / 1.115 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.933, allocations: 0.8029 MB / 1.115 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/0.9336, allocations: 306.6 kB / 1.116 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.073e-05/0.9337, allocations: 28.61 kB / 1.116 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00096/0.9346, allocations: 499 kB / 1.116 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=78): time 2.715e-06/0.9347, allocations: 0 / 1.116 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78): time 0.003298/0.938, allocations: 1.197 MB / 1.117 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.9381, allocations: 192.5 kB / 1.118 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.9393, allocations: 0.8029 MB / 1.118 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/0.9394, allocations: 37.7 kB / 1.118 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.9399, allocations: 0.5117 MB / 1.119 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.9401, allocations: 248.5 kB / 1.119 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.9404, allocations: 162.5 kB / 1.119 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9406, allocations: 337.9 kB / 1.12 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.9411, allocations: 265.9 kB / 1.12 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006591/0.9418, allocations: 363.1 kB / 1.12 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.943, allocations: 0.6032 MB / 1.121 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.943, allocations: 4 kB / 1.121 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00215/0.9452, allocations: 0.8641 MB / 1.122 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.9452, allocations: 8 kB / 1.122 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9452, allocations: 0 / 1.122 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/0.9459, allocations: 88.8 kB / 1.122 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/0.9466, allocations: 151.8 kB / 1.122 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.9488, allocations: 1.537 MB / 1.123 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008809/0.9497, allocations: 87.36 kB / 1.123 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/0.9498, allocations: 43.91 kB / 1.123 GB, free: 14.88 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.0006434/0.9505, allocations: 295.4 kB / 1.124 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/0.9508, allocations: 106.6 kB / 1.124 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.9535, allocations: 1.074 MB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.9535, allocations: 8 kB / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9535, allocations: 0 / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.9535, allocations: 3.984 kB / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.9554, allocations: 1.009 MB / 1.126 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.9554, allocations: 0 / 1.126 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.956, allocations: 139.8 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005727/0.9566, allocations: 80.78 kB / 1.126 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/0.9566, allocations: 27.97 kB / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.9585, allocations: 1.559 MB / 1.128 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9585, allocations: 0 / 1.128 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.9606, allocations: 0.9432 MB / 1.129 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/0.9611, allocations: 291.4 kB / 1.129 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.9613, allocations: 20 kB / 1.129 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007214/0.962, allocations: 67.92 kB / 1.129 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.9622, allocations: 68.84 kB / 1.129 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/0.9623, allocations: 35.97 kB / 1.129 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008713/0.9632, allocations: 0.5581 MB / 1.13 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.573e-06/0.9632, allocations: 0 / 1.13 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00104/0.9642, allocations: 335 kB / 1.13 GB, free: 8.016 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.00155/0.9658, allocations: 0.5957 MB / 1.131 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.9676, allocations: 0.8118 MB / 1.131 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.9676, allocations: 8.125 kB / 1.131 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.9686, allocations: 0.5119 MB / 1.132 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.9703, allocations: 423.2 kB / 1.132 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.9752, allocations: 2.571 MB / 1.135 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/0.976, allocations: 1.094 MB / 1.136 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.9764, allocations: 131.3 kB / 1.136 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of SimCode: time 5.31e-07/0.9764, allocations: 0 / 1.136 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of Templates: time 0.03447/1.011, allocations: 22.11 MB / 1.158 GB, free: 11.9 MB / 0.92 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/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