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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005131/0.005131, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002049/0.00205, allocations: 197 kB / 16.68 MB, free: 5.926 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.716/2.716, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8755/0.8769, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007526/0.8845, allocations: 5.613 MB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1752/1.06, allocations: 150.9 MB / 1.361 GB, free: 476 kB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/1.062, allocations: 23.81 kB / 1.361 GB, free: 452 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/1.063, allocations: 353.4 kB / 1.361 GB, free: 96 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00331/1.066, allocations: 0.5622 MB / 1.361 GB, free: 15.53 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002777/1.069, allocations: 0.8836 MB / 1.362 GB, free: 14.65 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002495/1.072, allocations: 1.554 MB / 1.364 GB, free: 13.09 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/1.073, allocations: 0.7674 MB / 1.365 GB, free: 12.29 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00078/1.074, allocations: 0.5409 MB / 1.365 GB, free: 11.75 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006258/1.074, allocations: 0.5715 MB / 1.366 GB, free: 11.17 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/1.075, allocations: 135.9 kB / 1.366 GB, free: 11.04 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/1.076, allocations: 495.6 kB / 1.366 GB, free: 10.55 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002865/1.076, allocations: 342.8 kB / 1.367 GB, free: 10.22 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005209/1.076, allocations: 0.6605 MB / 1.367 GB, free: 9.555 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/1.078, allocations: 1.91 MB / 1.369 GB, free: 7.641 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.078, allocations: 4 kB / 1.369 GB, free: 7.637 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.714e-06/1.078, allocations: 0 / 1.369 GB, free: 7.637 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.729e-05/1.078, allocations: 0 / 1.369 GB, free: 7.637 MB / 1.092 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.002653/1.081, allocations: 1.682 MB / 1.371 GB, free: 5.906 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.081, allocations: 8.031 kB / 1.371 GB, free: 5.898 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009253/1.082, allocations: 223 kB / 1.371 GB, free: 5.68 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.083, allocations: 0.9062 MB / 1.372 GB, free: 4.73 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/1.084, allocations: 74 kB / 1.372 GB, free: 4.656 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/1.084, allocations: 92 kB / 1.372 GB, free: 4.566 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/1.085, allocations: 1.032 MB / 1.373 GB, free: 3.496 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/1.085, allocations: 0 / 1.373 GB, free: 3.496 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-05/1.085, allocations: 44 kB / 1.373 GB, free: 3.453 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/1.085, allocations: 28 kB / 1.373 GB, free: 3.426 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/1.087, allocations: 1.171 MB / 1.374 GB, free: 2.254 MB / 1.092 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.00425/1.092, allocations: 3.008 MB / 1.377 GB, free: 15.13 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/1.093, allocations: 0.7963 MB / 1.378 GB, free: 14.32 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005147/1.094, allocations: 298.7 kB / 1.378 GB, free: 14.03 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.038e-05/1.094, allocations: 36.59 kB / 1.378 GB, free: 13.99 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008621/1.095, allocations: 495.1 kB / 1.379 GB, free: 13.49 MB / 1.107 GB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/1.095, allocations: 0 / 1.379 GB, free: 13.49 MB / 1.107 GB Notification: Performance of matching and sorting (n=78): time 0.003056/1.098, allocations: 1.197 MB / 1.38 GB, free: 12.27 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.098, allocations: 196.6 kB / 1.38 GB, free: 12.03 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009704/1.099, allocations: 0.799 MB / 1.381 GB, free: 11.21 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/1.099, allocations: 41.7 kB / 1.381 GB, free: 11.16 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/1.099, allocations: 0.5 MB / 1.381 GB, free: 10.65 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/1.099, allocations: 256.4 kB / 1.382 GB, free: 10.4 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/1.1, allocations: 158.5 kB / 1.382 GB, free: 10.24 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.1, allocations: 337.9 kB / 1.382 GB, free: 9.902 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/1.1, allocations: 269.9 kB / 1.382 GB, free: 9.637 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/1.101, allocations: 363.1 kB / 1.383 GB, free: 9.27 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/1.102, allocations: 0.5994 MB / 1.383 GB, free: 8.656 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.102, allocations: 0 / 1.383 GB, free: 8.656 MB / 1.107 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001843/1.104, allocations: 0.8641 MB / 1.384 GB, free: 7.781 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.104, allocations: 5.562 kB / 1.384 GB, free: 7.777 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.104, allocations: 4 kB / 1.384 GB, free: 7.773 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/1.105, allocations: 88.8 kB / 1.384 GB, free: 7.684 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/1.105, allocations: 159.7 kB / 1.384 GB, free: 7.527 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/1.108, allocations: 1.646 MB / 1.386 GB, free: 5.734 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/1.108, allocations: 91.39 kB / 1.386 GB, free: 5.645 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/1.108, allocations: 43.89 kB / 1.386 GB, free: 5.602 MB / 1.107 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.0005372/1.109, allocations: 287.4 kB / 1.386 GB, free: 5.312 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/1.109, allocations: 106.7 kB / 1.387 GB, free: 5.207 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/1.111, allocations: 1.074 MB / 1.388 GB, free: 4.125 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/1.112, allocations: 8 kB / 1.388 GB, free: 4.117 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.112, allocations: 7.938 kB / 1.388 GB, free: 4.109 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.112, allocations: 3.984 kB / 1.388 GB, free: 4.105 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/1.113, allocations: 1.009 MB / 1.389 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.113, allocations: 0 / 1.389 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/1.113, allocations: 139.8 kB / 1.389 GB, free: 2.906 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004619/1.114, allocations: 72.8 kB / 1.389 GB, free: 2.832 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/1.114, allocations: 31.91 kB / 1.389 GB, free: 2.801 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/1.116, allocations: 1.666 MB / 1.39 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.116, allocations: 0 / 1.39 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/1.118, allocations: 0.9471 MB / 1.391 GB, free: 20 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/1.118, allocations: 295.4 kB / 1.392 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.118, allocations: 16 kB / 1.392 GB, free: 15.7 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005921/1.119, allocations: 59.94 kB / 1.392 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/1.119, allocations: 72.83 kB / 1.392 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.57e-05/1.119, allocations: 39.98 kB / 1.392 GB, free: 15.53 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007043/1.12, allocations: 0.5542 MB / 1.392 GB, free: 14.96 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.12, allocations: 0 / 1.392 GB, free: 14.96 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008763/1.121, allocations: 347 kB / 1.393 GB, free: 14.62 MB / 1.123 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.001357/1.122, allocations: 0.6008 MB / 1.393 GB, free: 14.19 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001637/1.124, allocations: 0.8311 MB / 1.394 GB, free: 13.35 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.124, allocations: 0 / 1.394 GB, free: 13.35 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008687/1.124, allocations: 0.5161 MB / 1.395 GB, free: 12.82 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/1.126, allocations: 471.3 kB / 1.395 GB, free: 12.4 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/1.129, allocations: 1.91 MB / 1.397 GB, free: 10.46 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/1.13, allocations: 1.094 MB / 1.398 GB, free: 9.34 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007969/1.131, allocations: 295.6 kB / 1.398 GB, free: 9.047 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/1.131, allocations: 111.4 kB / 1.398 GB, free: 8.938 MB / 1.123 GB Notification: Performance of SimCode: time 7.31e-07/1.131, allocations: 0 / 1.398 GB, free: 8.938 MB / 1.123 GB Notification: Performance of Templates: time 0.03005/1.161, allocations: 17.85 MB / 1.416 GB, free: 7.254 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) 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) Reference file matches