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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 113.1 kB / 17.6 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.001506/0.001506, allocations: 186.7 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.537/1.537, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 443.4 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 67.89 kB / 1.059 GB, free: 404 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3144, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00779/0.3222, allocations: 5.685 MB / 1.222 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7867/1.109, allocations: 151.5 MB / 1.37 GB, free: 1.422 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009969/1.11, allocations: 22.75 kB / 1.37 GB, free: 1.414 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/1.111, allocations: 367.6 kB / 1.37 GB, free: 1.191 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/1.113, allocations: 0.5574 MB / 1.37 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002327/1.116, allocations: 0.9019 MB / 1.371 GB, free: 404 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002155/1.118, allocations: 1.558 MB / 1.373 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009936/1.119, allocations: 0.5013 MB / 1.373 GB, free: 15.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00089/1.12, allocations: 0.5357 MB / 1.374 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009447/1.121, allocations: 0.567 MB / 1.374 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003177/1.121, allocations: 135.3 kB / 1.375 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/1.122, allocations: 0.4973 MB / 1.375 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004077/1.122, allocations: 328.2 kB / 1.375 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009638/1.123, allocations: 0.6637 MB / 1.376 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002702/1.126, allocations: 1.925 MB / 1.378 GB, free: 13.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.126, allocations: 0 / 1.378 GB, free: 13.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.634e-06/1.126, allocations: 1.156 kB / 1.378 GB, free: 13.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.382e-05/1.126, allocations: 3.938 kB / 1.378 GB, free: 13.04 MB / 1.061 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.003484/1.13, allocations: 1.722 MB / 1.38 GB, free: 11.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/1.13, allocations: 9.031 kB / 1.38 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/1.131, allocations: 225 kB / 1.38 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/1.132, allocations: 0.9173 MB / 1.381 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/1.132, allocations: 80.42 kB / 1.381 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/1.133, allocations: 95.78 kB / 1.381 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/1.135, allocations: 1.029 MB / 1.382 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/1.135, allocations: 1.375 kB / 1.382 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/1.135, allocations: 44.98 kB / 1.382 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/1.135, allocations: 24.38 kB / 1.382 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/1.137, allocations: 1.171 MB / 1.383 GB, free: 10.02 MB / 1.061 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.00513/1.142, allocations: 3.014 MB / 1.386 GB, free: 7.621 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/1.144, allocations: 0.751 MB / 1.387 GB, free: 7.234 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/1.144, allocations: 274.2 kB / 1.387 GB, free: 7.094 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.21e-05/1.144, allocations: 35.52 kB / 1.387 GB, free: 7.074 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008937/1.145, allocations: 496.7 kB / 1.388 GB, free: 6.758 MB / 1.061 GB Notification: Performance of pre-optimization done (n=78): time 2.294e-06/1.145, allocations: 4 kB / 1.388 GB, free: 6.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=78): time 0.003308/1.148, allocations: 1.203 MB / 1.389 GB, free: 6.098 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/1.149, allocations: 197.1 kB / 1.389 GB, free: 5.871 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/1.15, allocations: 0.7928 MB / 1.39 GB, free: 5.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.953e-05/1.15, allocations: 41.89 kB / 1.39 GB, free: 5.367 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/1.15, allocations: 0.5096 MB / 1.39 GB, free: 4.914 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/1.15, allocations: 266.3 kB / 1.39 GB, free: 4.684 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/1.151, allocations: 173.2 kB / 1.391 GB, free: 4.574 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.151, allocations: 337.9 kB / 1.391 GB, free: 4.246 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005329/1.151, allocations: 270.8 kB / 1.391 GB, free: 4.109 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/1.152, allocations: 362.2 kB / 1.392 GB, free: 3.902 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/1.153, allocations: 0.6034 MB / 1.392 GB, free: 3.578 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.153, allocations: 1.469 kB / 1.392 GB, free: 3.578 MB / 1.061 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002056/1.155, allocations: 0.8677 MB / 1.393 GB, free: 3.125 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.155, allocations: 7.625 kB / 1.393 GB, free: 3.125 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.155, allocations: 0 / 1.393 GB, free: 3.125 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/1.156, allocations: 84.7 kB / 1.393 GB, free: 3.082 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/1.157, allocations: 156.8 kB / 1.393 GB, free: 3.043 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/1.159, allocations: 1.643 MB / 1.395 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/1.16, allocations: 95.06 kB / 1.395 GB, free: 1.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.241e-05/1.16, allocations: 38.53 kB / 1.395 GB, free: 1.355 MB / 1.061 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.0005565/1.16, allocations: 292.2 kB / 1.395 GB, free: 1.133 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/1.16, allocations: 107.4 kB / 1.395 GB, free: 1.074 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/1.163, allocations: 1.074 MB / 1.396 GB, free: 492 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/1.163, allocations: 9.031 kB / 1.396 GB, free: 492 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.163, allocations: 3.984 kB / 1.396 GB, free: 488 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.163, allocations: 9.031 kB / 1.396 GB, free: 480 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/1.164, allocations: 1.003 MB / 1.397 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.164, allocations: 0 / 1.397 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/1.165, allocations: 148.3 kB / 1.398 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/1.165, allocations: 70.81 kB / 1.398 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/1.165, allocations: 23.45 kB / 1.398 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/1.167, allocations: 1.666 MB / 1.399 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.167, allocations: 4 kB / 1.399 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/1.169, allocations: 0.9481 MB / 1.4 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/1.17, allocations: 296.7 kB / 1.4 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/1.17, allocations: 23.73 kB / 1.4 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/1.171, allocations: 59.41 kB / 1.401 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.171, allocations: 65.47 kB / 1.401 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.694e-05/1.171, allocations: 40.38 kB / 1.401 GB, free: 13.13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007012/1.171, allocations: 0.5584 MB / 1.401 GB, free: 12.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.171, allocations: 4 kB / 1.401 GB, free: 12.79 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008768/1.172, allocations: 351.9 kB / 1.402 GB, free: 12.69 MB / 1.076 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.001842/1.174, allocations: 0.6081 MB / 1.402 GB, free: 12.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001587/1.176, allocations: 0.8012 MB / 1.403 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.176, allocations: 0 / 1.403 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008633/1.177, allocations: 492.2 kB / 1.403 GB, free: 11.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/1.178, allocations: 475.1 kB / 1.404 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/1.181, allocations: 1.961 MB / 1.406 GB, free: 10.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/1.182, allocations: 1.097 MB / 1.407 GB, free: 9.414 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008914/1.183, allocations: 286.2 kB / 1.407 GB, free: 9.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/1.183, allocations: 114 kB / 1.407 GB, free: 9.234 MB / 1.076 GB Notification: Performance of SimCode: time 1.102e-06/1.183, allocations: 0 / 1.407 GB, free: 9.234 MB / 1.076 GB Notification: Performance of Templates: time 0.03149/1.215, allocations: 17.86 MB / 1.425 GB, free: 9.734 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.535279135219753]