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.001446/0.001446, allocations: 109 kB / 17.08 MB, free: 5.984 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.001361/0.001362, allocations: 195.6 kB / 20.03 MB, free: 3.059 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.429/1.429, allocations: 222.9 MB / 245.7 MB, free: 4.25 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.668/2.668, allocations: 437.1 MB / 0.7177 GB, free: 4.52 MB / 0.5606 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.001974/0.001974, allocations: 71.86 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.311, allocations: 151.6 MB / 1.176 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007885/0.3189, allocations: 5.631 MB / 1.181 GB, free: 248 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7989/1.118, allocations: 150.9 MB / 1.329 GB, free: 9.309 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/1.119, allocations: 22.69 kB / 1.329 GB, free: 9.301 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/1.12, allocations: 362.9 kB / 1.329 GB, free: 9.152 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002325/1.123, allocations: 0.5648 MB / 1.33 GB, free: 8.895 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/1.125, allocations: 0.8686 MB / 1.33 GB, free: 8.738 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002368/1.127, allocations: 1.562 MB / 1.332 GB, free: 8.438 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/1.128, allocations: 0.7711 MB / 1.333 GB, free: 8.227 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000985/1.129, allocations: 0.5302 MB / 1.333 GB, free: 8.105 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007465/1.13, allocations: 0.5681 MB / 1.334 GB, free: 7.844 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/1.13, allocations: 131.2 kB / 1.334 GB, free: 7.844 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/1.132, allocations: 0.4923 MB / 1.334 GB, free: 7.727 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003776/1.132, allocations: 341.6 kB / 1.335 GB, free: 7.504 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007115/1.133, allocations: 0.6563 MB / 1.335 GB, free: 7.051 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003404/1.136, allocations: 1.928 MB / 1.337 GB, free: 6.215 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.136, allocations: 0 / 1.337 GB, free: 6.215 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/1.136, allocations: 0 / 1.337 GB, free: 6.215 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.241e-05/1.136, allocations: 1.938 kB / 1.337 GB, free: 6.215 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.003855/1.14, allocations: 1.733 MB / 1.339 GB, free: 5.031 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.14, allocations: 9.781 kB / 1.339 GB, free: 5.031 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/1.141, allocations: 225 kB / 1.339 GB, free: 4.945 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/1.142, allocations: 0.9146 MB / 1.34 GB, free: 4.379 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/1.142, allocations: 78.97 kB / 1.34 GB, free: 4.344 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/1.143, allocations: 95.09 kB / 1.34 GB, free: 4.312 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/1.145, allocations: 1.029 MB / 1.341 GB, free: 3.848 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.145, allocations: 1.062 kB / 1.341 GB, free: 3.848 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/1.145, allocations: 41.56 kB / 1.341 GB, free: 3.816 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/1.145, allocations: 24.38 kB / 1.341 GB, free: 3.816 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/1.147, allocations: 1.173 MB / 1.342 GB, free: 3.535 MB / 1.014 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.004591/1.151, allocations: 3.021 MB / 1.345 GB, free: 1.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/1.153, allocations: 0.7861 MB / 1.346 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/1.153, allocations: 303.2 kB / 1.346 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.027e-05/1.153, allocations: 36.97 kB / 1.346 GB, free: 1.293 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008702/1.154, allocations: 493.1 kB / 1.347 GB, free: 1.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=78): time 2.494e-06/1.154, allocations: 0 / 1.347 GB, free: 1.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=78): time 0.003255/1.158, allocations: 1.211 MB / 1.348 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/1.158, allocations: 193.6 kB / 1.348 GB, free: 360 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/1.159, allocations: 0.7959 MB / 1.349 GB, free: 8 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.692e-05/1.159, allocations: 46.27 kB / 1.349 GB, free: 15.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/1.159, allocations: 0.5126 MB / 1.35 GB, free: 15.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/1.16, allocations: 262.4 kB / 1.35 GB, free: 15.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/1.16, allocations: 163.2 kB / 1.35 GB, free: 15.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.16, allocations: 341.8 kB / 1.35 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/1.161, allocations: 265.5 kB / 1.351 GB, free: 14.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/1.161, allocations: 362 kB / 1.351 GB, free: 14.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/1.163, allocations: 0.6041 MB / 1.352 GB, free: 14.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.163, allocations: 0 / 1.352 GB, free: 14.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002095/1.165, allocations: 0.872 MB / 1.352 GB, free: 14.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.165, allocations: 6.531 kB / 1.352 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/1.165, allocations: 1.125 kB / 1.352 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/1.165, allocations: 83.97 kB / 1.352 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/1.166, allocations: 153 kB / 1.353 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/1.168, allocations: 1.652 MB / 1.354 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008787/1.169, allocations: 93.19 kB / 1.354 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/1.169, allocations: 41.64 kB / 1.354 GB, free: 12.42 MB / 1.029 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.000574/1.17, allocations: 295 kB / 1.355 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/1.17, allocations: 107.3 kB / 1.355 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/1.173, allocations: 1.079 MB / 1.356 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/1.173, allocations: 9.469 kB / 1.356 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/1.173, allocations: 0 / 1.356 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/1.173, allocations: 8.203 kB / 1.356 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/1.174, allocations: 1.001 MB / 1.357 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.174, allocations: 1.734 kB / 1.357 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/1.175, allocations: 146.6 kB / 1.357 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/1.175, allocations: 70.08 kB / 1.357 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-05/1.175, allocations: 25.31 kB / 1.357 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/1.177, allocations: 1.665 MB / 1.359 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.177, allocations: 1.062 kB / 1.359 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/1.179, allocations: 0.9479 MB / 1.36 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/1.18, allocations: 296.4 kB / 1.36 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/1.18, allocations: 20.34 kB / 1.36 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/1.181, allocations: 62.02 kB / 1.36 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.181, allocations: 67.3 kB / 1.36 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/1.181, allocations: 37.95 kB / 1.36 GB, free: 8.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008565/1.182, allocations: 0.5603 MB / 1.361 GB, free: 8.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.182, allocations: 4 kB / 1.361 GB, free: 8.656 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0011/1.183, allocations: 349.7 kB / 1.361 GB, free: 8.559 MB / 1.029 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.002011/1.185, allocations: 0.6078 MB / 1.362 GB, free: 8.305 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001925/1.187, allocations: 0.8295 MB / 1.362 GB, free: 7.957 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.187, allocations: 5.375 kB / 1.362 GB, free: 7.953 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009969/1.188, allocations: 0.5101 MB / 1.363 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/1.19, allocations: 480.5 kB / 1.363 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/1.193, allocations: 1.998 MB / 1.365 GB, free: 6.504 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/1.194, allocations: 1.098 MB / 1.366 GB, free: 5.707 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/1.195, allocations: 124.2 kB / 1.366 GB, free: 5.668 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/1.195, allocations: 0 / 1.366 GB, free: 5.668 MB / 1.029 GB Notification: Performance of Templates: time 0.03525/1.23, allocations: 22.38 MB / 1.388 GB, free: 9.734 MB / 1.045 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.782511622994207]