Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 222.7 kB / 22.25 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.204/3.204, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.09 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3601, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007743/0.3678, allocations: 5.082 MB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.18/0.5478, allocations: 133 MB / 1.461 GB, free: 6.91 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.5489, allocations: 35.69 kB / 1.461 GB, free: 6.875 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009768/0.5499, allocations: 377.3 kB / 1.461 GB, free: 6.504 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.552, allocations: 0.5735 MB / 1.462 GB, free: 5.93 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.5541, allocations: 0.9086 MB / 1.462 GB, free: 5.027 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.556, allocations: 1.562 MB / 1.464 GB, free: 3.461 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009952/0.557, allocations: 0.5145 MB / 1.465 GB, free: 2.902 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008352/0.5579, allocations: 0.5683 MB / 1.465 GB, free: 2.332 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007652/0.5586, allocations: 0.5754 MB / 1.466 GB, free: 1.754 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.5588, allocations: 132 kB / 1.466 GB, free: 1.625 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.56, allocations: 0.5152 MB / 1.466 GB, free: 1.109 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003717/0.5603, allocations: 346.8 kB / 1.467 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006657/0.561, allocations: 0.5285 MB / 1.467 GB, free: 244 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.5638, allocations: 1.984 MB / 1.469 GB, free: 14.25 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5638, allocations: 0 / 1.469 GB, free: 14.25 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5638, allocations: 0 / 1.469 GB, free: 14.25 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.112e-05/0.5638, allocations: 4 kB / 1.469 GB, free: 14.24 MB / 1.17 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.00326/0.5671, allocations: 1.687 MB / 1.471 GB, free: 12.52 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5671, allocations: 12.03 kB / 1.471 GB, free: 12.51 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.5673, allocations: 148.4 kB / 1.471 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.5688, allocations: 267.8 kB / 1.471 GB, free: 12.09 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.5705, allocations: 0.8463 MB / 1.472 GB, free: 11.22 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/0.5706, allocations: 77.98 kB / 1.472 GB, free: 11.15 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.5707, allocations: 92 kB / 1.472 GB, free: 11.06 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.5727, allocations: 1.283 MB / 1.473 GB, free: 9.672 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.5727, allocations: 0 / 1.473 GB, free: 9.672 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-05/0.5728, allocations: 48 kB / 1.473 GB, free: 9.625 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.5728, allocations: 24 kB / 1.473 GB, free: 9.602 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.5747, allocations: 1.128 MB / 1.475 GB, free: 8.473 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.5791, allocations: 2.504 MB / 1.477 GB, free: 5.898 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.5807, allocations: 0.7545 MB / 1.478 GB, free: 5.137 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005447/0.5813, allocations: 274.7 kB / 1.478 GB, free: 4.863 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.562e-05/0.5813, allocations: 20.64 kB / 1.478 GB, free: 4.844 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.5823, allocations: 0.5801 MB / 1.479 GB, free: 4.219 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 3.036e-06/0.5823, allocations: 0 / 1.479 GB, free: 4.219 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003415/0.5858, allocations: 1.14 MB / 1.48 GB, free: 3.074 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.5859, allocations: 196.5 kB / 1.48 GB, free: 2.84 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.5871, allocations: 0.8186 MB / 1.481 GB, free: 1.996 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.446e-05/0.5872, allocations: 45.64 kB / 1.481 GB, free: 1.945 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004899/0.5876, allocations: 0.5281 MB / 1.481 GB, free: 1.41 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/0.5879, allocations: 265.8 kB / 1.481 GB, free: 1.148 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.5882, allocations: 146.6 kB / 1.482 GB, free: 1 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002839/0.5885, allocations: 337.9 kB / 1.482 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.589, allocations: 245.8 kB / 1.482 GB, free: 432 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007347/0.5897, allocations: 487.1 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.5909, allocations: 0.576 MB / 1.483 GB, free: 15.3 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5909, allocations: 0 / 1.483 GB, free: 15.3 MB / 1.186 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002115/0.593, allocations: 0.8217 MB / 1.484 GB, free: 14.47 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.593, allocations: 8 kB / 1.484 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.5931, allocations: 0 / 1.484 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/0.5937, allocations: 88.8 kB / 1.484 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.5944, allocations: 143.8 kB / 1.484 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.5969, allocations: 1.532 MB / 1.486 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000812/0.5977, allocations: 95.53 kB / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.5977, allocations: 27.97 kB / 1.486 GB, free: 12.46 MB / 1.186 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.0007746/0.5985, allocations: 286.2 kB / 1.486 GB, free: 12.17 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/0.5989, allocations: 111.3 kB / 1.486 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.6015, allocations: 1.08 MB / 1.487 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.6015, allocations: 11.94 kB / 1.487 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.6015, allocations: 0 / 1.487 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.6015, allocations: 3.984 kB / 1.487 GB, free: 10.95 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.6029, allocations: 0.8566 MB / 1.488 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6029, allocations: 0 / 1.488 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.6035, allocations: 147.8 kB / 1.488 GB, free: 9.898 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004748/0.604, allocations: 72.72 kB / 1.488 GB, free: 9.824 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-05/0.604, allocations: 23.98 kB / 1.488 GB, free: 9.801 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.6062, allocations: 1.559 MB / 1.49 GB, free: 8.121 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6062, allocations: 4.062 kB / 1.49 GB, free: 8.117 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.6084, allocations: 0.9478 MB / 1.491 GB, free: 7.145 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005032/0.6089, allocations: 230.9 kB / 1.491 GB, free: 6.918 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.609, allocations: 27.94 kB / 1.491 GB, free: 6.891 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006344/0.6096, allocations: 62.69 kB / 1.491 GB, free: 6.832 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.6098, allocations: 76.8 kB / 1.491 GB, free: 6.758 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-05/0.6099, allocations: 35.97 kB / 1.491 GB, free: 6.723 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008959/0.6108, allocations: 0.5743 MB / 1.492 GB, free: 6.137 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6108, allocations: 0 / 1.492 GB, free: 6.137 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009954/0.6118, allocations: 351 kB / 1.492 GB, free: 5.793 MB / 1.186 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.004635/0.6164, allocations: 2.033 MB / 1.494 GB, free: 3.945 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.6182, allocations: 0.7609 MB / 1.495 GB, free: 3.168 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.6182, allocations: 8.172 kB / 1.495 GB, free: 3.16 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.6194, allocations: 0.4924 MB / 1.495 GB, free: 2.656 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.6211, allocations: 471.5 kB / 1.496 GB, free: 2.23 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.6332, allocations: 7.064 MB / 1.503 GB, free: 11.01 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.6339, allocations: 0.5193 MB / 1.503 GB, free: 10.46 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00094/0.6348, allocations: 287.8 kB / 1.503 GB, free: 10.17 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006859/0.6355, allocations: 471.2 kB / 1.504 GB, free: 9.711 MB / 1.201 GB Notification: Performance of SimCode: time 8.31e-07/0.6355, allocations: 0 / 1.504 GB, free: 9.711 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08614/0.7216, allocations: 28.31 MB / 1.532 GB, free: 13.76 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.01, allocations: 0 / 1.532 GB, free: 13.76 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.1894679319812]