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: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005706/0.005706, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.001352/0.001352, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.575/2.575, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 62.38 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3225, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007151/0.3297, allocations: 5.117 MB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1624/0.4922, allocations: 150.8 MB / 1.24 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.4936, allocations: 27.81 kB / 1.24 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.4949, allocations: 337.5 kB / 1.24 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.4974, allocations: 0.5303 MB / 1.241 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.5004, allocations: 0.8569 MB / 1.241 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.5028, allocations: 1.485 MB / 1.243 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.5044, allocations: 0.81 MB / 1.244 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.5056, allocations: 0.5254 MB / 1.244 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.5068, allocations: 0.5559 MB / 1.245 GB, free: 324 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004438/0.5072, allocations: 132 kB / 1.245 GB, free: 192 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.5086, allocations: 499.5 kB / 1.245 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004953/0.5091, allocations: 338.9 kB / 1.246 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009243/0.5101, allocations: 0.6488 MB / 1.246 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003001/0.5131, allocations: 1.897 MB / 1.248 GB, free: 12.81 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.5131, allocations: 4 kB / 1.248 GB, free: 12.81 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5131, allocations: 0 / 1.248 GB, free: 12.81 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.595e-05/0.5132, allocations: 0 / 1.248 GB, free: 12.81 MB / 1.014 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.004303/0.5175, allocations: 1.663 MB / 1.25 GB, free: 11.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.5176, allocations: 8.031 kB / 1.25 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/0.5178, allocations: 156.4 kB / 1.25 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.5189, allocations: 222.9 kB / 1.25 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.5209, allocations: 0.9099 MB / 1.251 GB, free: 9.754 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.5209, allocations: 78 kB / 1.251 GB, free: 9.676 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.5211, allocations: 99.98 kB / 1.251 GB, free: 9.578 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.5233, allocations: 1.032 MB / 1.252 GB, free: 8.508 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.5234, allocations: 3.938 kB / 1.252 GB, free: 8.504 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.5235, allocations: 44 kB / 1.252 GB, free: 8.461 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.5235, allocations: 24 kB / 1.252 GB, free: 8.438 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.5257, allocations: 1.167 MB / 1.253 GB, free: 7.266 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005056/0.5307, allocations: 2.796 MB / 1.256 GB, free: 4.398 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.5322, allocations: 0.7977 MB / 1.257 GB, free: 3.594 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.5328, allocations: 302.7 kB / 1.257 GB, free: 3.297 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.888e-05/0.5329, allocations: 28.61 kB / 1.257 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000879/0.5338, allocations: 495.1 kB / 1.258 GB, free: 2.766 MB / 1.014 GB Notification: Performance of pre-optimization done (n=78): time 3.096e-06/0.5338, allocations: 0 / 1.258 GB, free: 2.766 MB / 1.014 GB Notification: Performance of matching and sorting (n=78): time 0.003199/0.537, allocations: 1.209 MB / 1.259 GB, free: 1.527 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.5371, allocations: 192.6 kB / 1.259 GB, free: 1.297 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.5383, allocations: 0.8007 MB / 1.26 GB, free: 480 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/0.5383, allocations: 41.7 kB / 1.26 GB, free: 432 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.6204/1.159, allocations: 0.5019 MB / 1.26 GB, free: 173.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/1.159, allocations: 255.8 kB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/1.159, allocations: 139 kB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/1.16, allocations: 340.7 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/1.16, allocations: 243.2 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006542/1.161, allocations: 362.1 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/1.162, allocations: 0.5771 MB / 1.262 GB, free: 173.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.162, allocations: 0.8438 kB / 1.262 GB, free: 173.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002151/1.164, allocations: 0.8159 MB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.164, allocations: 5.266 kB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.164, allocations: 7.562 kB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006605/1.165, allocations: 81.67 kB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/1.165, allocations: 145.6 kB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/1.167, allocations: 1.635 MB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008245/1.168, allocations: 94.83 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/1.168, allocations: 28.7 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (84): * Single equations (assignments): 83 * 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.0005103/1.169, allocations: 292.8 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/1.169, allocations: 101.3 kB / 1.265 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/1.172, allocations: 1.076 MB / 1.266 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.172, allocations: 8.844 kB / 1.266 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.172, allocations: 2.188 kB / 1.266 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.172, allocations: 5.438 kB / 1.266 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/1.173, allocations: 1.008 MB / 1.267 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.173, allocations: 0 / 1.267 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/1.174, allocations: 148.3 kB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/1.174, allocations: 71.28 kB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-05/1.174, allocations: 25.48 kB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/1.176, allocations: 1.671 MB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.176, allocations: 1.281 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/1.178, allocations: 0.9458 MB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/1.179, allocations: 288.1 kB / 1.27 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/1.179, allocations: 24.05 kB / 1.27 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/1.18, allocations: 65.81 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/1.18, allocations: 66.28 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.32e-05/1.18, allocations: 37.17 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000939/1.181, allocations: 0.5578 MB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.181, allocations: 0 / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001109/1.182, allocations: 337.7 kB / 1.272 GB, free: 167.8 MB / 1.014 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.003929/1.186, allocations: 1.988 MB / 1.273 GB, free: 166.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002115/1.188, allocations: 0.7957 MB / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.188, allocations: 4.438 kB / 1.274 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.189, allocations: 0.5067 MB / 1.275 GB, free: 166.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/1.191, allocations: 455.1 kB / 1.275 GB, free: 166.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.206, allocations: 7.079 MB / 1.282 GB, free: 162.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000909/1.207, allocations: 1.103 MB / 1.283 GB, free: 161.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00126/1.209, allocations: 289.9 kB / 1.283 GB, free: 161.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/1.209, allocations: 478.2 kB / 1.284 GB, free: 161.5 MB / 1.014 GB Notification: Performance of SimCode: time 2.344e-06/1.209, allocations: 0 / 1.284 GB, free: 161.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06577/1.275, allocations: 25.81 MB / 1.309 GB, free: 151.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/14.22, allocations: 23.36 kB / 1.309 GB, free: 151.2 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > 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