Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 496.2 MB / 0.7819 GB, free: 12.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 75.86 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9098/0.912, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00563/0.9176, allocations: 5.672 MB / 1.311 GB, free: 29.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1812/1.099, allocations: 151.5 MB / 1.459 GB, free: 15.34 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009817/1.1, allocations: 26.62 kB / 1.459 GB, free: 15.32 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/1.101, allocations: 362.6 kB / 1.459 GB, free: 15.11 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/1.103, allocations: 0.5716 MB / 1.46 GB, free: 14.75 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/1.106, allocations: 0.8936 MB / 1.461 GB, free: 14.25 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00218/1.108, allocations: 1.558 MB / 1.462 GB, free: 13.43 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/1.109, allocations: 0.5067 MB / 1.463 GB, free: 13.11 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000919/1.11, allocations: 0.5377 MB / 1.463 GB, free: 12.83 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009992/1.111, allocations: 0.5742 MB / 1.464 GB, free: 12.51 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000313/1.111, allocations: 135.9 kB / 1.464 GB, free: 12.51 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/1.112, allocations: 493.7 kB / 1.464 GB, free: 12.4 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003506/1.112, allocations: 338.5 kB / 1.465 GB, free: 12.18 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00068/1.113, allocations: 0.6624 MB / 1.465 GB, free: 11.72 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002483/1.116, allocations: 1.932 MB / 1.467 GB, free: 10.88 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.116, allocations: 0 / 1.467 GB, free: 10.88 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.342e-06/1.116, allocations: 1.531 kB / 1.467 GB, free: 10.88 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.836e-05/1.116, allocations: 0 / 1.467 GB, free: 10.88 MB / 1.154 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.003008/1.119, allocations: 1.719 MB / 1.469 GB, free: 9.711 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/1.119, allocations: 13.19 kB / 1.469 GB, free: 9.707 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009888/1.12, allocations: 221 kB / 1.469 GB, free: 9.625 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/1.121, allocations: 0.9168 MB / 1.47 GB, free: 8.895 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/1.121, allocations: 77.92 kB / 1.47 GB, free: 8.859 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.121, allocations: 96.31 kB / 1.47 GB, free: 8.828 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/1.123, allocations: 1.033 MB / 1.471 GB, free: 8.172 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/1.123, allocations: 5.5 kB / 1.471 GB, free: 8.168 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.924e-05/1.123, allocations: 42.16 kB / 1.471 GB, free: 8.137 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/1.123, allocations: 23.97 kB / 1.471 GB, free: 8.137 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/1.125, allocations: 1.166 MB / 1.472 GB, free: 7.586 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004841/1.13, allocations: 3.072 MB / 1.475 GB, free: 5.121 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/1.132, allocations: 0.7554 MB / 1.476 GB, free: 4.73 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/1.132, allocations: 270.6 kB / 1.476 GB, free: 4.59 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.08e-05/1.132, allocations: 26.02 kB / 1.476 GB, free: 4.578 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000936/1.133, allocations: 0.4893 MB / 1.477 GB, free: 4.258 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.394e-06/1.133, allocations: 0 / 1.477 GB, free: 4.258 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003461/1.137, allocations: 1.215 MB / 1.478 GB, free: 3.594 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/1.137, allocations: 189.4 kB / 1.478 GB, free: 3.375 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/1.138, allocations: 0.789 MB / 1.479 GB, free: 2.918 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.478e-05/1.138, allocations: 45.62 kB / 1.479 GB, free: 2.871 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/1.139, allocations: 0.5176 MB / 1.48 GB, free: 2.41 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/1.139, allocations: 261.6 kB / 1.48 GB, free: 2.184 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/1.139, allocations: 169.2 kB / 1.48 GB, free: 2.078 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.139, allocations: 342.4 kB / 1.48 GB, free: 1.746 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005334/1.14, allocations: 261.6 kB / 1.481 GB, free: 1.617 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006721/1.14, allocations: 358.5 kB / 1.481 GB, free: 1.418 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/1.142, allocations: 0.6043 MB / 1.481 GB, free: 1.086 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.142, allocations: 1.219 kB / 1.481 GB, free: 1.086 MB / 1.154 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002126/1.144, allocations: 0.8638 MB / 1.482 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.144, allocations: 5.562 kB / 1.482 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/1.144, allocations: 1.156 kB / 1.482 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/1.144, allocations: 87.64 kB / 1.482 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/1.145, allocations: 160.5 kB / 1.483 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/1.148, allocations: 1.645 MB / 1.484 GB, free: 14.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008924/1.148, allocations: 97.75 kB / 1.484 GB, free: 14.87 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/1.149, allocations: 34.23 kB / 1.484 GB, free: 14.86 MB / 1.17 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.0005801/1.149, allocations: 300.6 kB / 1.485 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/1.149, allocations: 112.6 kB / 1.485 GB, free: 14.56 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/1.152, allocations: 1.072 MB / 1.486 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.152, allocations: 8.469 kB / 1.486 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.152, allocations: 7.938 kB / 1.486 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.152, allocations: 5.422 kB / 1.486 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/1.153, allocations: 1.001 MB / 1.487 GB, free: 13.2 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.153, allocations: 0.8438 kB / 1.487 GB, free: 13.2 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/1.154, allocations: 139.4 kB / 1.487 GB, free: 13.17 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/1.154, allocations: 73.81 kB / 1.487 GB, free: 13.13 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/1.154, allocations: 24.52 kB / 1.487 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/1.157, allocations: 1.681 MB / 1.489 GB, free: 11.48 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.157, allocations: 64 / 1.489 GB, free: 11.48 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/1.159, allocations: 0.951 MB / 1.49 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/1.159, allocations: 288.5 kB / 1.49 GB, free: 10.71 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/1.159, allocations: 17.41 kB / 1.49 GB, free: 10.7 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/1.16, allocations: 68.38 kB / 1.49 GB, free: 10.66 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/1.16, allocations: 78.03 kB / 1.49 GB, free: 10.62 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/1.16, allocations: 29.67 kB / 1.49 GB, free: 10.61 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009054/1.161, allocations: 0.5581 MB / 1.491 GB, free: 10.07 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.161, allocations: 0 / 1.491 GB, free: 10.07 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00114/1.162, allocations: 355 kB / 1.491 GB, free: 9.723 MB / 1.17 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.002021/1.164, allocations: 0.5992 MB / 1.491 GB, free: 9.293 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001836/1.166, allocations: 0.796 MB / 1.492 GB, free: 8.484 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.166, allocations: 4 kB / 1.492 GB, free: 8.48 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009913/1.167, allocations: 496.4 kB / 1.493 GB, free: 7.988 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/1.169, allocations: 468 kB / 1.493 GB, free: 7.562 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/1.173, allocations: 1.961 MB / 1.495 GB, free: 5.574 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/1.173, allocations: 1.102 MB / 1.496 GB, free: 4.441 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009815/1.174, allocations: 287.6 kB / 1.496 GB, free: 4.156 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/1.175, allocations: 111.4 kB / 1.497 GB, free: 4.047 MB / 1.17 GB Notification: Performance of SimCode: time 5.41e-07/1.175, allocations: 0 / 1.497 GB, free: 4.047 MB / 1.17 GB Notification: Performance of Templates: time 0.03257/1.207, allocations: 17.86 MB / 1.514 GB, free: 2.348 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.932850079610944]